|
From: | Paul Jarc |
Subject: | Re: Glob returns a value when no match occurs |
Date: | Mon, 13 Jan 2003 14:47:59 -0500 |
User-agent: | Gnus/5.090011 (Oort Gnus v0.11) Emacs/21.2 (i686-pc-linux-gnu) |
Chad Lake <clake@cs.utah.edu> wrote: > Looks like the glob "arr=(*.txt)" is actually returning the string > "*.txt" when no match occurs. Right. This is the traditional behavior, but you can change it. Look for "nullglob" in the man page. paul
[Prev in Thread] | Current Thread | [Next in Thread] |