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

Bug#48247: echo -n

On Mon, Oct 25, 1999 at 02:54:00PM +1000, Herbert Xu wrote:
> Currently bash and ash supports -e in violation to POSIX.

Rereading my copy of chapter 4.19 of the POSIX 1003.2 draft:

 4.19.3  Options

 The echo utility shall not recognize the -- argument in the manner
 specified by utility syntax guideline 10 in 2.10.2; -- shall be
 recognized as a string operand.

 Implementations need not support any options.

I see nothing here that forbids supporting -e

So I recommend that any shells which have historically supported -e
continue to do so, but that debian policy make no explicit mention
of this issue.

If you see any text in the published standard which contradicts the above,
please quote it.



Reply to: