Wildstar allows you to set whether DOS will allow '*' to mean '#?' or not.
It is OFF as default, for compatibility with old programs ONLY! ('*' used
to mean 'stderr', now that is meant by 'CONSOLE:' - '*' is free to be
pattern matched.)
'*' is preferred to '#?', as it is used in unix :)
Usage:
Wildstar ON will turn this feature on
Wildstar OFF will turn this feature off
Wildstar TOGGLE will change the current state of it
Wildstar will print out the current state if given no args.
Also, if it is ON, then Wildstar will return WARN ($RC=5).
Example:
1> list f* lformat %n
object not found
1> list f#? lformat %n
fart
fish
foo
1> wildstar
Recognition of '*' in pattern matching is currently OFF.
1> wildstar on
Recognition of '*' in pattern matching is currently ON.
1> list f* lformat %n
fart
fish
foo
1> wildstar >nil:
1> echo $RC
5
1> wildstar off >nil:
1> echo $RC
0
1>
Requires 2.0 or better.
****************************************************************************
* THIS PROGRAM IS PART OF THE "KYZER'S SMALLS" COLLECTION *
* The KyzSmlClxn is a set of small yet useful commands. *
* *
* Commands are installed by copying them to your C: directory. *
* Source is included, and is licensed under the GNU GPL version 2. *
* *
* Email Kyzer/CSG <kyzer@4u.net> or see the website at http://zap.to/kyz *
****************************************************************************
|