^ as pipe

From: Bill Pechter <pechter_at_bg-tc-ppp1645.monmouth.com>
Date: Fri Aug 10 08:34:00 2001

> 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_at_borg kentborg]$ ls ^ more
> ls: ^: No such file or directory
> ls: more: No such file or directory
> [kentborg_at_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_at_shell.monmouth.com|pechter_at_pechter.dyndns.org
Received on Fri Aug 10 2001 - 08:34:00 BST

This archive was generated by hypermail 2.3.0 : Fri Oct 10 2014 - 23:33:32 BST