C-Shell weirdness

Bill Wyatt wyatt at cfa.UUCP
Fri Mar 28 08:50:23 AEST 1986


> ... If you do
> 
> set hosed
> echo $#hosed
> 
> THEN you will get 0. The difference? A null string is different from no value
> at all. ...

Small problem: on my system (Ultrix 32m 1.1) the above gives 1, not 0.
No, I did an `unset hosed' first to make sure no garbage was left behind.
-- 

Bill    UUCP:  {seismo|ihnp4|cmcl2}!harvard!talcott!cfa!wyatt
Wyatt   ARPA:  wyatt%cfa.UUCP at harvard.HARVARD.EDU



More information about the Comp.unix.wizards mailing list