Bugtraq mailing list archives

Re: BUG in /bin/bash


From: avarvit () cc ece ntua gr (Aggelos P. Varvitsiotis)
Date: Mon, 16 Sep 1996 10:10:57 +0300


  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.

I verified the same "feature" in OSF1's /bin/sh too (OSF1 v3.2).

A.Varvitsiotis



Current thread: