[3350] in bugtraq

home help back first fref pref prev next nref lref last post

Re: BUG in /bin/bash

daemon@ATHENA.MIT.EDU (Yiorgos Adamopoulos)
Fri Sep 13 19:05:06 1996

Date: 	Fri, 13 Sep 1996 21:14:37 +0300
Reply-To: y.adamopoulos@noc.ntua.gr
From: Yiorgos Adamopoulos <Y.Adamopoulos@noc.ntua.gr>
X-To:         espel@clipper.ens.fr
To: Multiple recipients of list BUGTRAQ <BUGTRAQ@NETSPACE.ORG>
In-Reply-To:  <199609130924.LAA07894@clipper.ens.fr> from "Roger Espel Llima"
              at Sep 13, 96 11:24:05 am

>   That reminds me of a similar "little-known feature" on SunOS and
> Solaris, where /bin/sh interprets '^' as a synonym for '|' :
>
> $ sh -c 'echo blah ^ cat'
> blah

This archaic compatibility feature is not only of SunOS/Solaris but also
of Ultrix4.3A (both sh and sh5) and HP-UX 9.05.  Ksh, pdksh and /bin/posix/sh
do not support this.

-Yiorgos.
 Y.Adamopoulos@noc.ntua.gr

home help back first fref pref prev next nref lref last post