4 ms·
> On Linux, in addition to control characters, the shell interprets the `-` character specially. It's not the shell that interprets the leading `-` character s
by nybble41 7y ago
> On Linux, in addition to control characters, the shell interprets the `-` character specially.
It's not the shell that interprets the leading `-` character specially, but rather the program receiving the string. The convention of marking the end of option processing with `--` helps, for programs that support it; you can also prefix relative paths with `./`.