From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2855 invoked from network); 22 Jan 1997 15:49:30 -0000 Received: from euclid.skiles.gatech.edu (list@130.207.146.50) by coral.primenet.com.au with SMTP; 22 Jan 1997 15:49:30 -0000 Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id KAA09129; Wed, 22 Jan 1997 10:38:37 -0500 (EST) Resent-Date: Wed, 22 Jan 1997 10:38:37 -0500 (EST) Date: Wed, 22 Jan 1997 10:39:57 -0500 (EST) From: Dietmar Rempfer To: redhat-list@redhat.com cc: zsh-workers@math.gatech.edu Subject: Help on zsh grammar Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Resent-Message-ID: <"lEN7I3.0.aE2.zHZvo"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/2813 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu 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 ================================================================================