Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Filename Expansion
- X-seq: zsh-users 104
- From: Zefram <A.Main@xxxxxxxxxxxxxxxxx>
- To: toshi_isogai@xxxxxxxxxx (Toshi Isogai)
- Subject: Re: Filename Expansion
- Date: Fri, 20 Oct 1995 02:52:34 +0100 (BST)
- Cc: zsh-users@xxxxxxxxxxxxxxx
- In-reply-to: <Pine.SUN.3.91.951019183157.2004D-100000@wolfcreek> from "Toshi Isogai" at Oct 19, 95 06:52:02 pm
>Toshi Isogai wrote:
>This works fine if there is at least one file matches the
>pattern. Otherwise, it exits with an error and 'other stuff'
>never gets done.
>
>How can I make it so that it will just skip 'for' loop if
>there aren't any files matches the pattern?
setopt nullglob
-zefram
Messages sorted by:
Reverse Date,
Date,
Thread,
Author