Re: csh * expantion problem
If you really want to echo an asterisk, use: echo '*' If you want to echo the list of files in the current directory, use: echo * If the current directory is empty, you will get the no match message. Is that what is happening? Bruce -- Bruce Perens K6BP [EMAIL PROTECTED] Finger [EMAIL PROTECTED] for PGP public key. PGP fingerprint = 88 6A 15 D0 65 D4 A3 A6 1F 89 6A 76 95 24 87 B3 -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]
Re: csh * expantion problem
On Wed, 20 Nov 1996, Bruce Perens wrote: If you want to echo the list of files in the current directory, use: echo * The point is this doesn't work. Is there a working version of csh? Neal -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]
Re: csh * expantion problem
Neal R. Dalton [EMAIL PROTECTED] writes: Under csh (not a link to tcsh), when I do a echo *, I get the following error: echo: No match. It work on other OSs. I tried echo * in an empty directory on a Solaris, SunOS, and HP/UX -- all the `csh' and `tcsh' agree -- they are unified in saying: echo: No match. Then, I said set nonomatch echo * and, lo and behold, they all echoed a `*' at me. The point is this doesn't work. Is there a working version of csh? Fix your shell script. - Hari -- Raja R Harinath -- [EMAIL PROTECTED] When all else fails, read the instructions. -- Cahn's Axiom Our policy is, when in doubt, do the right thing. -- Roy L Ash -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]
csh * expantion problem
Under csh (not a link to tcsh), when I do a echo *, I get the following error: echo: No match. It work on other OSs. Thanks, Neal -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]