Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
syntax:expansion:globs [2010/04/16 18:15]
127.0.0.1 external edit
syntax:expansion:globs [2013/04/14 12:34] (current)
thebonsai Don't tread version 4 special - it has been around for a long time now
Line 27: Line 27:
   * when the shell option ''​[[internals:​shell_options#​nocaseglob | nocaseglob]]''​ is set, the match is performed case-insensitive   * when the shell option ''​[[internals:​shell_options#​nocaseglob | nocaseglob]]''​ is set, the match is performed case-insensitive
   * when the shell option ''​[[internals:​shell_options#​dotglob | dotglob]]''​ is set, wildcard-characters can match a dot at the beginning of a filename   * when the shell option ''​[[internals:​shell_options#​dotglob | dotglob]]''​ is set, wildcard-characters can match a dot at the beginning of a filename
-  * :V4: when the shell option ''​[[internals:​shell_options#​dirspell | dirspell]]''​ is set, Bash performs spelling corrections when matching directory names +  * when the shell option ''​[[internals:​shell_options#​dirspell | dirspell]]''​ is set, Bash performs spelling corrections when matching directory names 
-  * :V4: when the shell option ''​[[internals:​shell_options#​globstar | globstar]]''​ is set, the glob ''<​nowiki>​**</​nowiki>''​ will recursively match all files and directories. This glob isn't "​configurable",​ i.e. you **can'​t** do something like ''<​nowiki>​**</​nowiki>​.c''​ to recursively get all ''​*.c''​ filenames. +  * when the shell option ''​[[internals:​shell_options#​globstar | globstar]]''​ is set, the glob ''<​nowiki>​**</​nowiki>''​ will recursively match all files and directories. This glob isn't "​configurable",​ i.e. you **can'​t** do something like ''<​nowiki>​**</​nowiki>​.c''​ to recursively get all ''​*.c''​ filenames. 
-  * the variable ​''​GLOBIGNORE''​ can be set to a colon-separated list of patterns to be removed from the list before it is returned+  * when the shell option ​''​[[internals:​shell_options#​globasciiranges | globasciiranges]]'' ​is set, the bracket-range globs (e.g. ''​[A-Z]''​) use C locale order rather than the configured locale'​s order (i.e. ''​ABC...abc...''​ instead of e.g. ''​AaBbCc...''​) - since 4.3-alpha 
 +  * the variable [[syntax:​shellvars#​GLOBIGNORE|GLOBIGNORE]] ​can be set to a colon-separated list of patterns to be removed from the list before it is returned
  
 ==== nullglob ==== ==== nullglob ====
  • syntax/expansion/globs.1271441709.txt
  • Last modified: 2011/06/04 15:03
  • (external edit)