From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2894 invoked from network); 22 Jan 1997 16:12:12 -0000 Received: from euclid.skiles.gatech.edu (list@130.207.146.50) by coral.primenet.com.au with SMTP; 22 Jan 1997 16:12:12 -0000 Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id KAA09528; Wed, 22 Jan 1997 10:53:30 -0500 (EST) Resent-Date: Wed, 22 Jan 1997 10:53:30 -0500 (EST) Date: Wed, 22 Jan 1997 18:53:28 +0300 (MSK) From: Andrej Borsenkow X-Sender: bor@itsrm1.mow.sni.de Reply-To: borsenkow.msk@sni.de To: Dietmar Rempfer cc: Zsh workers mailing list Subject: Re: Help on zsh grammar In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Resent-Message-ID: <"uVLvq1.0.mK2.vVZvo"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/2814 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu On Wed, 22 Jan 1997, Dietmar Rempfer wrote: > 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. > What about test '*.aux' :-) But really, you want unsetopt nomatch % setopt nomatch % test *.aux zsh: no matches found: *.aux % unsetopt nomatch % test *.aux *.aux % whence -f test test () { echo $* } greetings ------------------------------------------------------------------------- Andrej Borsenkow Fax: +7 (095) 252 01 05 SNI ITS Moscow Tel: +7 (095) 252 13 88 NERV: borsenkow.msk E-Mail: borsenkow.msk@sni.de -------------------------------------------------------------------------