Bug#48247: echo -n
On Mon, Oct 25, 1999 at 12:50:56AM -0400, Raul Miller wrote:
> On Mon, Oct 25, 1999 at 02:31:42PM +1000, Herbert Xu wrote:
> > What about escape codes, do we require them or do we forbid them?
>
> I think it would be a bad idea to make any recommendations on
> escape codes in debian policy:
>
> (1) We don't use them.
> (2) In almost all examples we don't care if they're supported or not.
> (3) POSIX already says enough about escape codes.
>
> As it happens, neither bash nor ash support them, while zsh does.
> Both variants are reasonable.
When I said escape codes, I really meant the scripts that currently
use them with/without -e. So with your current modification to the
policy, escape codes are no longer allowed in any #!/bin/sh script.
Remember the kernel source uses -e in just as many places as it
uses -n.
Currently bash and ash supports -e in violation to POSIX.
--
Debian GNU/Linux 2.1 is out! ( http://www.debian.org/ )
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Reply to: