bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Glob returns a value when no match occurs


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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]