Cshell Anomaly

Richard A. O'Keefe ok at quintus.uucp
Tue Dec 6 12:21:35 AEST 1988


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=\*
	set x="*"
	set x='*'
	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.
(Tested in DYNIX 4.2BSD, SunOS3.2, System V.3/386.)



More information about the Comp.unix.wizards mailing list