AminetAminet
Search:
82494 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/cli/ksc_Wildstar.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Turn on '*' file patternmatching
Author:Kyzer/CSG
Uploader:Kyzer/CSG <kyzer 4u net>
Type:util/cli
Architecture:m68k-amigaos
Date:2000-02-22
Download:http://aminet.net/util/cli/ksc_Wildstar.lha - View contents
Readme:http://aminet.net/util/cli/ksc_Wildstar.readme
Downloads:445
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 at 4u.net> or see the website at http://zap.to/kyz  *
****************************************************************************


Contents of util/cli/ksc_Wildstar.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  305     376  81.1% -lh5- e6de Feb 21  2000 Wildstar
[generic]                  903    2172  41.6% -lh5- 0cf8 Feb 21  2000 Wildstar.asm
[generic]                  759    1732  43.8% -lh5- 1803 Feb 21  2000 Wildstar.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         3 files    1967    4280  46.0%            Feb 22  2000

Aminet © 1992-2018 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>