3 ms·
Don't forget filenames that start with a dash... Usually you need to remember to put "--" in every single command invocation.
by zxzax 5y ago
Don't forget filenames that start with a dash... Usually you need to remember to put "--" in every single command invocation.
- usr1106 5y agoThat has to do absolute nothing with the shell, that's a Unix convention how commands parse their arguments.
- zxzax 5y agoI disagree, the shell is in the best situation to do something about it. Or at least it would be, if there was a consistent way for programs to report to the shell how their argument parsing works.