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

Re: Bug in bash

On Sat, 29 Sep 2001 03:27:54 +0200, Wichert Akkerman <wichert@wiggy.net> said:
> Previously Bruce Jackson wrote:
>> But, why is there a difference between the behaviour of bash under
>> Linux, HP-UX, and Solaris?  The protability of scripts is the problem.
> Linux is POSIX complient, the rest is not.

This turns out not to be the case.  POSIX[1] says that echo does handle
the \ escapes, and doesn't honor -n.  Neither bash nor ash (both invoked
as sh) behaves quite this way.

1. http://www.opengroup.org/onlinepubs/007908799/xcu/echo.html

Roderick Schertler

Reply to: