Slide 11
Slide 11 text
Pattern Matching
• * : Matches any string
• ? : Matches any character@
• [a-f] : Matches any of a,b,c,d,e,f
• [4-8] : Matches any of 4,5,6,7,8
• [G-I] : Matches any of G,H,I
• [azerty] : Matches any of a,z,e,r,t,y
• [^azerty] : Matches everything except a,z,e,r,t,y
$ ls *.tex
bash.tex
$ ls bash.???
bash.tex bash.aux bash.dvi bash.pdf
$ ls bash.*[^x]
bash.dvi bash.pdf bash.text
10