I notice in https://unix.stackexchange.com/a/459007/674, that single dash -
is used to signal the end of option arguments.
Is it correct that double dashes --
can also signal the end of option arguments?
What are their differences then? When to use which? Are they both GNU conventions? Thanks.
-
means in a#!
line you'd have had a question that we don't appear to have, but this we have questions about over and over, for over 7 years now. https://unix.stackexchange.com/q/253446/ https://unix.stackexchange.com/q/52167/ https://unix.stackexchange.com/q/11376/ https://unix.stackexchange.com/q/410689/ https://unix.stackexchange.com/q/375987/ https://unix.stackexchange.com/q/24275/ https://unix.stackexchange.com/q/55969/ https://unix.stackexchange.com/q/52425/ https://unix.stackexchange.com/q/457398/ https://unix.stackexchange.com/q/21852/ – JdeBP Jul 29 '18 at 18:07