On Fri, Sep 30, 2016 at 04:40:16PM +0200, Jan Stary wrote:
| echo.c says
| 
|       /* This utility may NOT do getopt(3) option parsing. */
| 
| Why is that, for echo(1) specifically?
| Other binaries in /bin seem to use getopt(3) freely.

Because echo should echo all arguments, including those that would
otherwise be parsed by getopt(3), except for '-n'.

Paul 'WEiRD' de Weerd

-- 
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
                 http://www.weirdnet.nl/                 

Reply via email to