Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: problem with CSH_NULL_GLOB
- X-seq: zsh-users 3524
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxx
- Subject: Re: problem with CSH_NULL_GLOB
- Date: Fri, 24 Nov 2000 04:15:22 +0000
- In-reply-to: <slrn91rj99.qfc.mason@xxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <20001123205324.A5813@khazad-dum> <slrn91rj99.qfc.mason@xxxxxxxxxxxxxxxxxxxxx>
On Nov 24, 2:06am, Geoff Wing wrote:
} Subject: Re: problem with CSH_NULL_GLOB
}
} Maciej Kalisiak <mac@xxxxxxxxxxxxxx> typed:
} :When I "setopt CSH_NULL_GLOB" and do "ls *.cc *.c" in my home directory,
} :it lists all the files there [...]
}
} It looks like a bug in zsh. I think you may have NULL_GLOB also set [...]
}
} "CSH_NULL_GLOB <C>
} If a pattern for filename generation has no
} matches, delete the pattern from the argument list;
} do not report an error unless all the patterns in a
} command have no matches. Overrides NULL_GLOB."
Hrm. As nearly as I can tell, this documentation became wrong when the
(N) glob qualifier was introduced. If CSH_NULL_GLOB overrides (N), all
sorts of bad things happen, so it doesn't. I just tried zsh-2.4, and
NULL_GLOB still takes effect even in combination with CSH_NULL_GLOB in
that version, too. I think it should read "Overrides NOMATCH."
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
Messages sorted by:
Reverse Date,
Date,
Thread,
Author