delorie.com/archives/browse.cgi | search |
Date: | Thu, 21 May 1998 11:04:24 +0300 (IDT) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
To: | "Peter J. Farley III" <pjfarley AT dorsai DOT org> |
cc: | djgpp AT delorie DOT com |
Subject: | Re: Possible bash bug in "for x in $path/*x*" |
In-Reply-To: | <35637b2a.6087655@enews.newsguy.com> |
Message-ID: | <Pine.SUN.3.91.980521110256.29054T-100000@is> |
MIME-Version: | 1.0 |
On Thu, 21 May 1998, Peter J. Farley III wrote: > when there is NOT any file in a directory in the $PATH > which matches *awk*, the syntax "for awk in $path/*awk*" sets the > variable $awk to the value of the path element plus "/*awk*". That's exactly how Bash is supposed to work by default. If you don't want this behavior, set the variable allow_null_glob_expansion. It's all in the docs.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |