2017-05-24 16:21:05 +0200, Joerg Schilling:
> Stephane Chazelas <stephane.chaze...@gmail.com> wrote:
> 
> > 2017-05-24 14:48:12 +0100, Stephane Chazelas:
> > [...]
> > > > bash
> > > > bosh
> > > 
> > > As discussed, as of the 2017-05-16 release, posh was not POSIX
> > > and still had many of non-conformances of the Bourne shell.
> > [...]
> >
> > Sorry, I meant "bosh", not "posh" above.
> 
> Well, you reported one non-conformance for the Bourne Shell and the Bourne 
> Shell has been verified to correctly work as the system shell (/bin/sh) on 
> Gentoo Linux in case that it was compiled with -DDO_POSIX_SH
[...]

I reported 3 as that was the first 3 I tested:

$ a=1 ./sh -o posix -c 'a=2; printenv a'
1

POSIX requires 2 to be output there (assuming printenv a command
to print the value of a given environment variable).

$ ./sh -o posix -c 'a=1; { a=2; } < /dev/null; echo "$a"'
1

Again 2 required by POSIX.

$ a=1::2: ./sh -o posix -f -c 'IFS=:; printf "<%s>\n" $a'
<1>
<2>

POSIX requires:

<1>
<>
<2>

The 

> has been verified to correctly work as the system shell (/bin/sh) on 
> Gentoo Linux in case that it was compiled with -DDO_POSIX_SH

Do you mean that you have tested all the scripts ever written
for gentoo and verified that they worked as expected?

-- 
Stephane

Reply via email to