[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: echo builtin doesn't handle end-of-options flag

From: Chet Ramey
Subject: Re: echo builtin doesn't handle end-of-options flag
Date: Mon, 17 Aug 2020 11:18:18 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.11.0

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

``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/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]