Timeline for Stop executables and built-ins from interpreting a string argument starting with - as a switch? [duplicate]
Current License: CC BY-SA 4.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 14, 2019 at 22:51 | history | closed | Freddy Andy Dalton muru elbarna Fabby | Duplicate of What does "--" (double dash / double hyphen) mean? | |
| Nov 8, 2019 at 5:59 | answer | added | dave_thompson_085 | timeline score: 2 | |
| Nov 8, 2019 at 2:54 | history | edited | ErikE | CC BY-SA 4.0 | deleted 8 characters in body |
| Nov 8, 2019 at 2:21 | comment | added | Freddy | @ErikE No, not all programs accept the --, there are exceptions (see here). The -e switch is also mentioned in the comments section. I flagged this Q as duplicate, because I (still) think it is. You asked for a generic way and the -- is a common way to handle such arguments. But that doesn't necessarily mean that this is the only way. | |
| Nov 8, 2019 at 2:11 | comment | added | user232326 | ErikE take it easy ... Maybe @Freddy haven't read my answer yet. Give it some minutes .... | |
| Nov 8, 2019 at 2:00 | review | Close votes | |||
| Nov 14, 2019 at 22:51 | |||||
| Nov 8, 2019 at 1:52 | vote | accept | ErikE | ||
| Nov 8, 2019 at 1:45 | comment | added | ErikE | @Freddy Do all executables and built-ins accept --? | |
| Nov 8, 2019 at 1:39 | answer | added | user232326 | timeline score: 5 | |
| Nov 8, 2019 at 1:30 | history | asked | ErikE | CC BY-SA 4.0 |