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

util/cli/ksc_Wildstar.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric icon
No screenshot available
Short:Turn on \'*\' file patternmatching
Author:Kyzer/CSG
Type:util/cli
Architecture:m68k-amigaos
Date:2000-02-23
Download:util/cli/ksc_Wildstar.lha - View contents
Readme:util/cli/ksc_Wildstar.readme
Downloads:821

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  *
****************************************************************************


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
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>