prevnext   » SZS: Wiimms SZS Toolset » wszst: Wiimms SZS Tool » wszst wildcards

wszst wildcards

Each parameter is treated as a filename. Wildcards and pipe characters are parsed. The special parameters '|+' and '|-' enable or disable the search for hidden directories and files (files beginning with a point) for the following parameters. Finally, one line is printed for each file name of the list.

Contents

1.   Syntax

wszst WILDCARDS pattern...

2.   Options

Options
Option Param Description
--no-wildcards Disable wildcard parsing and use each filename exactly as specified.
--in-order Process the input files in order of the command line and don't delete duplicates.
-i --ignore Ignore non existing source files without warning.
--sh Quote filenames for sh using '...'.
--bash Ignore --sh and quote filenames for bash using $'...'. Use »eval var=($(wszst wildcards --bash ...))« to assign the result to a bash array.

3.   Description

This command is intended to ensure that wildcards are evaluated identically on all operating systems. Therefore it is used in scripts such as the MKW-Fun Patcher.