Re: /bin/sh as an alternative
On Fri, Jan 16, 1998 at 08:04:36PM +0000, Mark Baker wrote:
> On Fri, Jan 16, 1998 at 06:59:58PM +0000, James Troup wrote:
>
> > > A quick check shows that ksh also does brace expansion, but (pd)ksh
> > > doesn't.
> >
> > 19:58:30@hades| ~/temp $ksh
> > $echo {foo,blah}
> > foo blah
> > $
>
> Yes, I think Adrian got them the wrong way round. pdksh does; AT+T ksh
> doesn't:
>
> club:~>ksh
> $ echo {foo,bar}
> {foo,bar}
Actually it was a complete thinko :-) I meant to say that (pd)ksh does, but
ash doesn't. I keep forgetting zsh, but that does expansion too.
Adrian
email: adrian.bridgett@poboxes.com | Debian Linux - www.debian.org
http://www.poboxes.com/adrian.bridgett | Because bloated, unstable
PGP key available on public key servers | operating systems are from MS
Reply to: