![](https://seccdn.libravatar.org/avatar/9e9cd0ac4b9e1e8633e84a8070485076.jpg?s=120&d=mm&r=g)
On Wednesday 10 November 2004 8:27 am, Hylton Conacher (ZR1HPC) wrote:
Hi,
On some occasions I have had to type a very long command that is not in the history file or access multiple file with a common character.
ie files aa, ab, ac, ad, ae, af There are very specific rules to the use of wild cards with files in Unix and of regular expressions. file a[abcdef] matches aa, ab, ac, ae, af.
Please note that expressions used to match files use the question mark as a
single character wild card where regular expressions use the period. There
are many resources for regular expressions, and they are a defined POSIX
standard. (Basic Regular expressions and Extended Regular Expressions)
Here is one for files:
http://cc.uoregon.edu/unixhelp/concepts/regexp1.1.html
Here is one for REs:
http://sitescooper.org/tao_regexps.html
--
Jerry Feldman