Timeline for How to hand over arguments containing "-" in Bash? [duplicate]
Current License: CC BY-SA 4.0
14 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 10, 2019 at 13:47 | history | closed |
muru mattdm Sparhawk X Tian Siva |
Duplicate of Match with grep when pattern contains hyphen "-" | |
| Jun 10, 2019 at 12:46 | history | edited | Rui F Ribeiro | CC BY-SA 4.0 |
deleted 60 characters in body
|
| Jun 10, 2019 at 1:25 | review | Close votes | |||
| Jun 10, 2019 at 13:47 | |||||
| Jun 10, 2019 at 0:53 | answer | added | jesse_b | timeline score: 2 | |
| Jun 9, 2019 at 22:14 | answer | added | Kusalananda♦ | timeline score: 3 | |
| Jun 9, 2019 at 22:13 | comment | added | Adrian | Thank you, @Freddy and pizdelect, both of your answers work for me! | |
| Jun 9, 2019 at 22:10 | vote | accept | Adrian | ||
| Jun 9, 2019 at 22:02 | history | edited | Yurij Goncharuk | CC BY-SA 4.0 |
added 1 character in body
|
| Jun 9, 2019 at 22:02 | answer | added | JJbh | timeline score: 1 | |
| Jun 9, 2019 at 22:01 | comment | added | Freddy | The answer is here: What does “--” (double-dash) mean? (also known as “bare double dash”) | |
| Jun 9, 2019 at 21:59 | comment | added | user313992 |
@jsotola are you serious? to the op: use grep -e -R ./-file1 file2, where -R is a pattern starting with -, and ./-file1 is a filename starting with -.
|
|
| Jun 9, 2019 at 21:58 | comment | added | jsotola |
i think that you wrote the answer in your question ... use "-R" , not -R
|
|
| Jun 9, 2019 at 21:55 | review | First posts | |||
| Jun 9, 2019 at 22:02 | |||||
| Jun 9, 2019 at 21:51 | history | asked | Adrian | CC BY-SA 4.0 |