home *** CD-ROM | disk | FTP | other *** search
/ Dream 52 / Amiga_Dream_52.iso / Amiga / Workbench / Patches / ksc_Wildstar.readme < prev    next >
Text File  |  1998-05-11  |  2KB  |  54 lines

  1. Short:    Turn on '*' file patternmatching
  2. Author:   Kyzer/CSG
  3. Uploader: Kyzer/CSG <kyzer@4u.net>
  4. Type:     util/cli
  5.  
  6. Wildstar allows you to set whether DOS will allow '*' to mean '#?' or not.
  7. It is OFF as default, for compatibility with old programs ONLY!
  8. ('*' used to mean 'stderr', now that is meant by 'CONSOLE:' - '*' is free
  9. to be pattern matched.)
  10.  
  11. '*' is preferred to '#?', as it is used in unix :)
  12.  
  13. Wildstar ON      will turn this feature on
  14. Wildstar OFF     will turn this feature off
  15. Wildstar TOGGLE  will change the current state of it
  16.  
  17. Wildstar will print out the current state if given no args.
  18. Also, if it is ON, then Wildstar will return WARN ($RC=5).
  19.  
  20. Example:
  21. 1> list f*   lformat %n
  22. object not found
  23. 1> list f#?  lformat %n
  24. fart
  25. fish
  26. foo
  27. 1> wildstar
  28. Recognition of '*' in pattern matching is currently OFF.
  29. 1> wildstar on
  30. Recognition of '*' in pattern matching is currently ON.
  31. 1> list f*   lformat %n
  32. fart
  33. fish
  34. foo
  35. 1> wildstar >nil:
  36. 1> echo $RC
  37. 5
  38. 1> wildstar off >nil:
  39. 1> echo $RC
  40. 0
  41. 1>
  42.  
  43. Requires 2.0 or better.
  44.  
  45. ****************************************************************************
  46. *          THIS PROGRAM IS PART OF THE "KYZER'S SMALLS" COLLECTION         *
  47. *                                                                          *
  48. *      The KyzSmlClxn is a set of very small, but useful CLI commands.     *
  49. *                                                                          *
  50. *   Source in assembler is included. Install by copying the command to C:  *
  51. *                                                                          *
  52. *     Kyzer/CSG, 49 Fairview Road, AB22 8ZG, Scotland ---- kyzer@4u.net    *
  53. ****************************************************************************
  54.