[PLUG] Non-unix behavior in RedHat 8.0

Matt Alexander m at netpro.to
Mon Oct 28 22:28:36 UTC 2002


It's not RedHat, it's GNU.  Try this:

echo -e 'abc\n'

man echo


On Mon, 28 Oct 2002, Bill Thoen wrote:

> Noticed something strange in RedHat's ver 8.0. In a terminal
> window launched from Gnome, if you type:
>
> $ echo 'abc\n'
>
> you get
>
> $ abc\n
> $
>
> (no newline; the slash-n is treated like a literal.)  In any
> other UNIX I've seen, you'd get:
>
> $ abc
>
> $
> (a newline after the 'abc') How do I get the traditional behavior
> (i.e. echo the newline)?
>
> - Bill Thoen
>
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>





More information about the PLUG mailing list