[PLUG] Non-unix behavior in RedHat 8.0

Bill Thoen bthoen at gisnet.com
Mon Oct 28 23:16:00 UTC 2002


Seems I can only get it to work by using both yours and Matt's
suggestion together.

This works:
$ /bin/sh
$ echo -e 'abc\n'
abc

$

This doesn't work:
$ /bin/sh
$ echo 'abc\n'

Nor does this:
$ echo -e 'abc\n'

Guess I better check what /bin/sh points to on this RH8.0 box...

- Bill Thoen

Russ Johnson wrote:
> Appears to be a "bashism":
> 
> [02:27pm][rjohnson at eagle ~]
> $ echo 'abc\n'
> abc\n
> [02:27pm][rjohnson at eagle ~]
> $ /bin/sh
> $ echo 'abc\n'
> abc
> 
> $
> 
> Bash is my default shell, and the example above is on Solaris 8. I also
> tested on mandrake 9. I got the same results as the bash stuff above...
> /bin/sh is a symlink to /bin/bash.




More information about the PLUG mailing list