On Fri, Aug 10, 2001 at 08:34:24AM +0000, Pete
Turnbull wrote:
^ as a pipe still works in 'sh' (Bourne
shell) but not in 'ksh' (Korn
shell). I don't know about 'bash'.
Cool! ...but it doesn't work for me on a Red Hat 7.0 machine:
[kentborg@borg kentborg]$ ls ^ more
ls: ^: No such file or directory
ls: more: No such file or directory
[kentborg@borg kentborg]$ sh
sh-2.04$ ls ^ more
ls: ^: No such file or directory
ls: more: No such file or directory
sh-2.04$ exit
-kb
On RedHat to ls -lsia and see /bin/bash is linked to /bin/sh -- so
you're getting bash.
The sh on FreeBSD (ash based) and pdksh and real AT&T ksh no longer do
it either.
Bill
--
Bill Gates is a Persian cat and a monocle away from being a
villain in a James Bond movie -- Dennis Miller
bpechter@shell.monmouth.com|pechter@pechter.dyndns.org