Cshell Anomaly

David Elliott dce at mips.COM
Wed Dec 7 00:35:39 AEST 1988


In article <815 at quintus.UUCP> ok at quintus.UUCP (Richard A. O'Keefe) writes:
>In article <599 at mqcomp.oz> martin at mqcomp.oz (Martin Foord) writes:
>>How does one get an asterisk '*' in a csh variable ?
>	set x=\*
...
>All work.  To verify this, try
>	echo "$x"
>after each one.  _Don't_ try
>	echo $x
>as filename generation is done after variable substitution.

Another way to get the value out is

	set

(no arguments).  This prints the values of all shell variables
without doing any kinds of substitution.

-- 
David Elliott		dce at mips.com  or  {ames,prls,pyramid,decwrl}!mips!dce
"Did you see his eyes?  Did you see his crazy eyes?" -- Iggy (who else?)



More information about the Comp.unix.wizards mailing list