ash Posix standards

Rich Felker dalias at aerifal.cx
Sat Mar 22 00:57:06 UTC 2014


On Fri, Mar 21, 2014 at 09:07:27AM +0000, Pietro Paolini wrote:
> Hello everyone,
> 
> I really would like have a reference for the ash shell provided in the busybox package, reading the README inside
> the shell/ folder I can see :
> 
> http://www.opengroup.org/onlinepubs/9699919799/
> Open Group Base Specifications Issue 7
> 
> 
> http://www.opengroup.org/onlinepubs/9699919799/utilities/V3_chap01.html
> Shell & Utilities
> 
> [..]
> 
> 
> http://www.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html
> [..]
> 
> Is then ash compliant to those ?

It's intended to be, as long as CONFIG_ASH_BASH_COMPAT is not selected
at build time. Turning on that option alters the shell grammar to be
non-conforming to POSIX. In particular, &> gets interpreted as one
token instead of two.

Rich


More information about the busybox mailing list