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

Re: [PATCH] latest ash has broken 'echo' command



On Fri, Oct 22, 1999 at 03:32:53PM +0200, Marek Habersack wrote:
> * Herbert Xu said:
> > On Fri, Oct 22, 1999 at 02:54:34PM +0200, Marek Habersack wrote:
> > > * Herbert Xu said:
> > > > 
> > > > Really? -e doesn't seem to be part of OSF/1 or Solaris.
> > > You can't implement all the standards. Most of the GNU software follows
> > > POSIX. Forget Solaris or OSF/1 and follow POSIX.
> > 
> > So you mean POSIX mandates -e?
> AFAIK, yes - it is allowed, but left to the implementation. I might be wrong
> here, but I think it's allowed.

Allowed is not the same as mandated.  When you write scripts that are POSIX
compliant, you have to take into account *all* POSIX shells, not just the on
you've got.  Otherwise you're writting shell scripts just for your own shell.
-- 
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: