Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Command != command ???
- X-seq: zsh-users 9183
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Command != command ???
- Date: Tue, 26 Jul 2005 11:28:34 +0100
- In-reply-to: <20050726.023319.41198250.Meino.Cramer@xxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <8764uyitfr.fsf@xxxxxxxxxxxxxxxx> <20050725.213536.78705211.Meino.Cramer@xxxxxx> <87oe8qh5qh.fsf@xxxxxxxxxxxxxxxx> <20050726.023319.41198250.Meino.Cramer@xxxxxx>
Meino Christian Cramer wrote:
> From: Philippe Troin <phil@xxxxxxxx>
> > What about this script:
> >
> > #!/bin/zsh
> > print "### pwd"
> > pwd
> > command pwd
> > print "### find"
> > find . -name "*.jpg"
> > print "### glob"
> > print -l **/*.jpg
> >
> > What's the output?
> >
> > Phil.
> >
>
> It prints:
>
> ------------------------------------------------------------------
> ### pwd
> /home/mccramer/data/pool10
> /home/mccramer/data/pool10
> ### find
> .
> .
> .
> <print of the jpg-files>
> .
> .
> .
> ### glob
> ------------------------------------------------------------------
>
>
> The
> "------------------------------------------------------------------"'s
> are added by myself. After "### glob" there is following nothing
> printed to stdout. To stderr there is the known error message:
>
> ./globtest2:8: no matches found: **/*.jpg
Make sure you have an up-to-date zsh. There were one or two bugs in
pattern matching that got fixed earlier this year to do with character
counting and termination.
If it's still happening, it may be there is a file with non-ASCII
characters which is still confusing zsh: lots of such problems have been
fixed but it won't surprise me if some are left. It would be useful to
narrow the problem down to a particular set of files or directory
subtree.
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************
Messages sorted by:
Reverse Date,
Date,
Thread,
Author