home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 6 File / 06-File.zip / which213.zip / README.EMX next >
Text File  |  1997-06-03  |  2KB  |  68 lines

  1.  
  2. 'which' v2.1.3 for OS/2 and DOS
  3. -------------------------------
  4.  
  5. Enhanced features in v2.1.3 (after v2.1) are:
  6.  
  7.     - Wildcard support (when compiled with emx/gcc)
  8.     - Display date/time and size info of searched files
  9.     - Search directories from an env variable
  10.     - Search LIBPATH (+ BEGINLIBPATH, ENDLIBPATH), DPATH, BOOKSHELF, HELP
  11.       directories for OS/2
  12.     - Get the first match from all command line args (for use with makefile)
  13.       (e.g. in GNU makefile:  CC := $(shell which -1 gcc icc) )
  14.     - Unix or OS/2(DOS) style path conversions
  15.  
  16. This is a modified version from v2.1 of Greg Roelofs, and supports wildcards
  17. in command names.  The wildcard support is available only when the v2.1.3
  18. source code is compiled with emx/gcc.  Wildcard support for other compilers
  19. is not added in this version.
  20.  
  21.  
  22. Included files are:
  23. -------------------
  24.     src\*        -- Modified sources (v2.1.3)
  25.     src-org\*        -- Original v2.1 sources
  26.     which2.exe        -- OS/2 executable using dll (require emxrt.zip)
  27.     which2s.exe     -- OS/2 stand-alone executable
  28.     whichemx.exe    -- DOS and OS/2 bound executable (require emxrt.zip)
  29.  
  30. Included *.exe are compiled with emx/gcc 0.9c fix02.  whichemx.exe can run on
  31. either DOS or OS/2, and all these has been tested on OS/2 Warp's DOS command
  32. window or OS/2 command window.    I hope they can run under other shells as
  33. well.
  34.  
  35. To rebuild v2.1.3 using GNU make and emx/gcc 0.9c, run one of the following
  36. in src\ dir:
  37.  
  38.     make gccdyn     -- to create executable that uses dll
  39.     make gcc        -- stand-alone executable
  40.     make emx        -- OS/2 + DOS bound executable
  41.  
  42.  
  43. Installation:
  44. -------------
  45.  
  46. Copy an executable to 'which.exe' and place it in a PATH.
  47.  
  48.  
  49. Using which:
  50. ------------
  51.  
  52. For more information, refer to the original documentations in src-org\.
  53.  
  54. Changes:
  55. --------
  56.     v2.1.3  June 3, 1997
  57.     - Option -l now searches BEGINLIBPATH + LIBPATH + ENDLIBPATH.
  58.         (Thanks to "Bruce A. Mallett" <bam@NightStorm.com>)
  59.     - New options:
  60.         -1     Show only the first match from all command line args, i.e.
  61.          displays a single path name if found (useful in makefile)
  62.          (-1 + -a for all first matches of command line args)
  63.         -u     Unix style path names (use forward slashes as dir separators)
  64.     - Minor refinements
  65.  
  66. --
  67. Wonkoo Kim (wkim+@pitt.edu), June 3, 1997
  68.