Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Help on zsh grammar
- X-seq: zsh-workers 2813
- From: Dietmar Rempfer <dietmar@xxxxxxxxxxxxxxxxxxxxxxxx>
- To: redhat-list@xxxxxxxxxx
- Subject: Help on zsh grammar
- Date: Wed, 22 Jan 1997 10:39:57 -0500 (EST)
- Cc: zsh-workers@xxxxxxxxxxxxxxx
I am stuck with the following seemingly trivial problem:
Let us define the following function:
test () { echo \"$*\" }
Now, if I do ``test blabla'', I get "blabla", which is what I want.
But if I say e.g. ``test *.aux'', I would like to see "*.aux" printed out,
but instead I get the message: zsh: no matches found: *.aux.
So the problem is that I have to somehow prevent zsh from trying to expand
the result of $* any further. I have tried all kinds of means to achieve
this, but to no avail. (By the way, the above syntax works just fine in
bash, so I am beginning to wonder whether this is a bug in zsh...)
Any help would be highly appreciated...
================================================================================
_/_/ _/__/ | Dietmar Rempfer
_/ _/ _/ __/ | Sibley School of Mechanical
_/ _/ _/ _/ | and Aerospace Engineering
_/ _/ _/ _/ | Cornell University
_/ _/ _/ __/ | Ithaca, NY 14853-7501
_/ _/ _/___/ | USA
_/ _/ _/ _/ | Tel.: (607) 255-0486
_/ __/ _/ _/ | Fax : (607) 255-1222
_/___/ _/ _/ _/ _/ | e-mail: dietmar@xxxxxxxxxxxxxxxxxxxxxxxx
================================================================================
Messages sorted by:
Reverse Date,
Date,
Thread,
Author