mirror of https://github.com/mkerrisk/man-pages
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:
parent
3de2d3be31
commit
c998e004b1
|
@ -22,7 +22,7 @@
|
|||
.\"
|
||||
.\" 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
|
||||
glob \- Globbing pathnames
|
||||
.SH DESCRIPTION
|
||||
|
@ -116,8 +116,10 @@ unchanged when it is syntactically incorrect, or the list of
|
|||
matching pathnames is empty.
|
||||
With
|
||||
.I bash
|
||||
one can force the classical behavior by setting
|
||||
.IR allow_null_glob_expansion=true .
|
||||
one can force the classical behavior using this command:
|
||||
|
||||
shopt -s nullglob
|
||||
.\" In Bash v1, by setting allow_null_glob_expansion=true
|
||||
|
||||
(Similar problems occur elsewhere.
|
||||
E.g., where old scripts have
|
||||
|
|
Loading…
Reference in New Issue