On 18/12/2016 21:16, Mihail Konev wrote:
Ignore first "--", as the end of options.
echo -- is required by POSIX to print --. To quote:
> The echo utility shall not recognize the "--" argument in the manner
specified by Guideline 10 of XBD Utility Syntax Guidelines; "--" shall
be recognized as a string operand.
Scripts wishing to print the text "-n" without anything else must find
some other way, for example using the printf command.
Cheers,
Harald van Dijk
--
To unsubscribe from this list: send the line "unsubscribe dash" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html