On 4/1/13 3:32 PM, Dave Rutherford wrote:

>> http://pubs.opengroup.org/onlinepubs/9699919799/utilities/echo.html says:
>>
>>     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.
> 
> Perhaps this is worth adjusting unless POSIXLY_CORRECT?

It's not; echo has never behaved this way.  Any code that would use
`echo --' is, by definition, new code and new code should use printf.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/

Reply via email to