On 12/8/2010 4:55 PM, Karel Gardas wrote:
$ cat test.sh
#!/bin/sh
/usr/bin/echo line1
/usr/bin/echo
/usr/bin/echo line3
$
$ /bin/bash -c "./test.sh|grep -v "char""
line1
line3
$
$ /bin/sh -c "./test.sh|grep -v "char""
line1
line3
$
The output with bash is what's expected while the output with /bin/sh is wrong.
Is that known issue or shall I report it?
I can't reproduce it on my s11express system. The output is the same in
both cases.
Perhaps locale specific? Try it in C locale.
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org