Groups | Search | Server Info | Keyboard shortcuts | Login | Register
Groups > gnu.bash.bug > #16769
| From | Chet Ramey <chet.ramey@case.edu> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Re: echo builtin doesn't handle end-of-options flag |
| Date | 2020-08-17 11:18 -0400 |
| Organization | ITS, Case Western Reserve University |
| Message-ID | <mailman.51.1597677510.2469.bug-bash@gnu.org> (permalink) |
| References | <F122E6E9-6067-45EF-8D18-2B1EBF0D5917@codegnome.org> <737d2184-8b59-0eee-4c56-41f7a67d8f88@redhat.com> <7681637e-fd77-b51d-51d8-2a120e64c075@case.edu> |
On 8/16/20 12:21 PM, Eric Blake wrote: > POSIX says this one is implementation-defined; so whether -n is treated as > an option or as a string to echo has to be documented by the implementation > (bash documents treating it as an option). It's not technically an option; it's a first operand that is treated specially. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
Back to gnu.bash.bug | Previous | Next | Find similar
Re: echo builtin doesn't handle end-of-options flag Chet Ramey <chet.ramey@case.edu> - 2020-08-17 11:18 -0400
csiph-web