Re: echo builtin doesn't handle end-of-options flag
From:
Martin Schulte
Subject:
Re: echo builtin doesn't handle end-of-options flag
Date:
Sun, 16 Aug 2020 18:24:31 +0200
Hello Todd,
Eric Cook wrote:
> This is an intentional relic of the past, you really should use printf.
See
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/echo.html#tag_20_37_18
BTW/1:
Because of this /bin/echo behaves the same way in most Linux distribution.
BTW/2:
echo -n -n$'\n'
will print a -n in the bash.
Best regards
Martin