C-Shell weirdness (How to get 0 words)
Roger Hale
roger at ll-xn.ARPA
Sat Mar 29 02:52:00 AEST 1986
In article <196 at cfa.UUCP>, wyatt at cfa.UUCP (Bill Wyatt) writes:
> > ... If you do
> >
> > set hosed
> > echo $#hosed
> >
> > THEN you will get 0.
>
> Small problem: on my system (Ultrix 32m 1.1) the above gives 1, not 0.
set foo=()
echo $#foo
gives me 0. (4.2bsd vax.) I suspect it will elsewhere too.
Roger Hale Internet: roger at ll-xn.arpa
More information about the Comp.bugs.4bsd.ucb-fixes
mailing list