Introduction to Unix |
|
|
|
4.6. Filename Substitution (Wildcards)ΒΆ
We often want to process on several files that match a regular expression by name. Wildcard characters can help with this.
| Wildcard | Meaning |
|---|---|
| * | Match any string, including the empty string |
| ? | Match any single character |
| [abcd] | Match any one of these characters- (abcd) is an example |
| [a-d] | Match any characters in a range - (a-d) is an example |