glob.7: Update bash(1) command used to obtain classical globbing behavior

The man page formerly noted the bash(1) v1 command to do this.

Reported-by: Aaron Peschel <aaron.peschel@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2012-07-28 08:12:16 +02:00
parent 3de2d3be31
commit c998e004b1
1 changed files with 5 additions and 3 deletions

View File

@ -22,7 +22,7 @@
.\" .\"
.\" 2003-08-24 fix for / by John Kristoff + joey .\" 2003-08-24 fix for / by John Kristoff + joey
.\" .\"
.TH GLOB 7 2003-08-24 "Linux" "Linux Programmer's Manual" .TH GLOB 7 2012-07-28 "Linux" "Linux Programmer's Manual"
.SH NAME .SH NAME
glob \- Globbing pathnames glob \- Globbing pathnames
.SH DESCRIPTION .SH DESCRIPTION
@ -116,8 +116,10 @@ unchanged when it is syntactically incorrect, or the list of
matching pathnames is empty. matching pathnames is empty.
With With
.I bash .I bash
one can force the classical behavior by setting one can force the classical behavior using this command:
.IR allow_null_glob_expansion=true .
shopt -s nullglob
.\" In Bash v1, by setting allow_null_glob_expansion=true
(Similar problems occur elsewhere. (Similar problems occur elsewhere.
E.g., where old scripts have E.g., where old scripts have