Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!cwjcc!hal!nic.MR.NET!rhesus!uwmcsd1!marque!uunet!mcvax!hp4nl!botter!star.cs.vu.nl!maart
From: maart@cs.vu.nl (Maarten Litmaath)
Newsgroups: comp.unix.wizards
Subject: Re: Cshell Anomaly
Keywords: csh
Message-ID: <1770@solo3.cs.vu.nl>
Date: 6 Dec 88 15:29:21 GMT
References: <599@mqcomp.oz>
Organization: V.U. Informatica, Amsterdam, the Netherlands
Lines: 16

martin@mqcomp.oz (Martin Foord) writes:

\How does one get an asterisk '*' in a csh variable ?   I've been trying for
\a long time to figure this one out but can't achieve it ?  What about if
\you're reading chars in from a file into csh variables and one of them is a
\'*' it doesn't appear into the csh variable at all !

Because it has to be escaped.

	% set x=\*
	% echo "$x"
	*
	%
-- 
fcntl(fd, F_SETFL, FNDELAY):          |Maarten Litmaath @ VU Amsterdam:
      let's go weepin' in the corner! |maart@cs.vu.nl, mcvax!botter!maart