From: Dietmar Rempfer <dietmar@sokrates.mae.cornell.edu>
To: redhat-list@redhat.com
Cc: zsh-workers@math.gatech.edu
Subject: Help on zsh grammar
Date: Wed, 22 Jan 1997 10:39:57 -0500 (EST) [thread overview]
Message-ID: <Pine.LNX.3.95L01at.970122102314.9483A-100000@sokrates.mae.cornell.edu> (raw)
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@sokrates.mae.cornell.edu
================================================================================
next reply other threads:[~1997-01-22 15:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-01-22 15:39 Dietmar Rempfer [this message]
1997-01-22 15:53 ` Andrej Borsenkow
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.3.95L01at.970122102314.9483A-100000@sokrates.mae.cornell.edu \
--to=dietmar@sokrates.mae.cornell.edu \
--cc=redhat-list@redhat.com \
--cc=zsh-workers@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).