Recursive operators ** and ***
replace find -file.
without: for file in `find . -name '*.ps*' -print`
with: for file in **/*.ps*
Regular-expression-like repetition operators:
Similar to egrep-type quantifiers
* and +
(pattern)# matches zero or more of pattern
(pattern)## matches one or more of pattern
(The ** and *** are special cases of these.)
Example: ([0-9][0-9]/)#README matches README
files in current directory and all subdirectories with two-digit
names:
README 97/README 97/01/README 97/01/22/README
etc.