Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #16758
| From | Martin Schulte <gnu@schrader-schulte.de> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Re: echo builtin doesn't handle end-of-options flag |
| Date | 2020-08-16 18:24 +0200 |
| Message-ID | <mailman.2307.1597595081.2739.bug-bash@gnu.org> (permalink) |
| References | <F122E6E9-6067-45EF-8D18-2B1EBF0D5917@codegnome.org> <3ce208a5-432d-4f9c-49bb-3e9442520e6b@gmx.com> <20200816182431.6fca7fdf124b1e1b479d4efb@schrader-schulte.de> |
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
Back to gnu.bash.bug | Previous | Next | Find similar
Re: echo builtin doesn't handle end-of-options flag Martin Schulte <gnu@schrader-schulte.de> - 2020-08-16 18:24 +0200
csiph-web