INDEX | PREV | NEXT
EXPAND
SYNOPSIS
expand wildcard
expand "template" wildcard ...
DESCRIPTION
The EXPAND program will generate a file list based on one or more
wildcard patterns. If you specify only a single argument it should be
a wildcard pattern. If you specify more then one argument then the
first argument MUST be template for formatting the output.
The template currently supports:
* standard characters
* %s (replaced with the filename, up to 10 occurances)
* %% (replaced with a single '%'), use when you need a '%'
character so as not to confuse the template
For example:
1> expand S:#?
startup-sequence
user-startup
...
1> expand "hello %s %s" S:#?
hello startup-sequence startup-sequence
hello user-startup startup-sequence
...
1>
Converted using GuideML V1.6, a converter written by Richard Körber <shred@chessy.aworld.de>