zsh-workers
 help / color / mirror / code / Atom feed
From: Andrej Borsenkow <borsenkow.msk@sni.de>
To: Dietmar Rempfer <dietmar@sokrates.mae.cornell.edu>
Cc: Zsh workers mailing list <zsh-workers@math.gatech.edu>
Subject: Re: Help on zsh grammar
Date: Wed, 22 Jan 1997 18:53:28 +0300 (MSK)	[thread overview]
Message-ID: <Pine.SV4.3.95.970122185019.1005B-100000@itsrm1.mow.sni.de> (raw)
In-Reply-To: <Pine.LNX.3.95L01at.970122102314.9483A-100000@sokrates.mae.cornell.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
-------------------------------------------------------------------------



      reply	other threads:[~1997-01-22 16:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-01-22 15:39 Dietmar Rempfer
1997-01-22 15:53 ` Andrej Borsenkow [this message]

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.SV4.3.95.970122185019.1005B-100000@itsrm1.mow.sni.de \
    --to=borsenkow.msk@sni.de \
    --cc=dietmar@sokrates.mae.cornell.edu \
    --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).