]> git.ipfire.org Git - thirdparty/bash.git/blobdiff - doc/bashref.texi
commit bash-20080501 snapshot
[thirdparty/bash.git] / doc / bashref.texi
index 9ad608bfddb889fe6a7de497c3a55bffb004b4e6..f90cc23b27758576593f0e1e21023fe82c5f8fbb 100644 (file)
@@ -1886,6 +1886,12 @@ The special pattern characters have the following meanings:
 @table @code
 @item *
 Matches any string, including the null string.
+When the @code{globstar} shell option is enabled, and @samp{*} is used in
+a filename expansion context, two adjacent @samp{*}s used as a single
+pattern will match all files and zero or more directories and
+subdirectories.
+If followed by a @samp{/}, two adjacent @samp{*}s will match only
+directories and subdirectories.
 @item ?
 Matches any single character.
 @item [@dots{}]
@@ -3604,6 +3610,8 @@ not echoed.
 @item -t @var{timeout}
 Cause @code{read} to time out and return failure if a complete line of
 input is not read within @var{timeout} seconds.
+@var{timeout}  may be a decimal number with a fractional portion following
+the decimal point.
 This option has no effect if @code{read} is not reading input from the
 terminal or a pipe.
 
@@ -4143,6 +4151,11 @@ If set, Bash
 changes its behavior to that of version 3.1 with respect to quoted
 arguments to the conditional command's =~ operator.
 
+@item dirspell
+If set, Bash
+attempts spelling correction on directory names during word completion 
+if the directory name initially supplied does not exist.
+
 @item dotglob
 If set, Bash includes filenames beginning with a `.' in
 the results of filename expansion.
@@ -4212,6 +4225,12 @@ the ignored words are the only possible completions.
 @xref{Bash Variables}, for a description of @env{FIGNORE}.
 This option is enabled by default.
 
+@item globstar
+If set, the pattern @samp{**} used in a filename expansion context will
+match a files and zero or more directories and subdirectories.
+If the pattern is followed by a @samp{/}, only directories and
+subdirectories match.
+
 @item gnu_errfmt
 If set, shell error messages are written in the standard @sc{gnu} error
 message format.