Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!umcp-cs!chris From: chris@umcp-cs.UUCP (Chris Torek) Newsgroups: net.unix-wizards,net.bugs.4bsd Subject: Re: C-Shell weirdness (count of words in a variable) Message-ID: <566@umcp-cs.UUCP> Date: Thu, 27-Mar-86 21:30:07 EST Article-I.D.: umcp-cs.566 Posted: Thu Mar 27 21:30:07 1986 Date-Received: Sun, 20-Apr-86 13:13:19 EST References: <676@nbires.UUCP> <2021@hao.UUCP> <678@nbires.UUCP> <2024@hao.UUCP> Reply-To: chris@maryland.UUCP (Chris Torek) Distribution: net Organization: U of Maryland, Computer Science Dept., College Park, MD Lines: 17 In article <2024@hao.UUCP> woods@hao.UUCP writes: >It seems that $#var is either an error or a positive integer. Not so: % set foo % echo $#foo 1 % set foo=() % echo $#foo 0 % -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 1415) UUCP: seismo!umcp-cs!chris CSNet: chris@umcp-cs ARPA: chris@mimsy.umd.edu