The following are some rules pertaining to the use of file patterns:
- A question mark (
?) wildcard matches exactly one arbitrary character. An asterisk (
*) wildcard matches zero or more arbitrary characters. Split only allows asterisk (
*) wildcards. Collect allows both asterisk (
*) and question mark (
- A file pattern may be relative or absolute. Relative paths in patterns are resolved in the same manner as for double quoted path names.
- Wildcards can only be used in the filename, and nowhere else in the path.
- Single quotes must be used to distinguish file patterns from individual file paths, which are double quoted. This makes it possible to reference files whose names contain wildcard characters.
Need more help with this?
Thanks for your feedback.