--- text.xml.old 2021-12-24 19:44:51.914188318 +1100
+++ text.xml 2021-12-24 19:22:00.855047204 +1100
@@ -857,18 +857,100 @@
matching.
-
-tables of bash metachars
-
+
+
+
+ Character
+ |
+
+ Meaning
+ |
+
+
+
+ *
+
+
+ Matches any string, including the null string
+
+
+
+
+ ?
+
+
+ Matches any single character
+
+
+
+
+ [...]
+
+
+ Matches any one of the enclosed characters.
+
+
+
+
+
+ Refer to the bash man page for further details and caveats regarding these characters.
+
If the extglob shell option is enabled, a number of additional constructs
are available. These can be extremely useful sometimes.
-
-table of extra bash goodies
-
+
+
+
+ Construct
+ |
+
+ Meaning
+ |
+
+
+
+ ?(pattern-list)
+
+
+ Matches zero or one occurrence of the given patterns
+
+
+
+
+ *(pattern-list)
+
+
+ Matches zero or more occurrences of the given patterns
+
+
+
+
+ +(pattern-list)
+
+
+ Matches one or more occurrences of the given patterns
+
+
+
+
+ @(pattern-list)
+
+
+ Matches one of the given patterns
+
+
+
+
+ !(pattern-list)
+
+
+ Matches anything except one of the given patterns
+
+
+