| OS/2
programs I've written (Not for DOS). (command line programs) Ratings: * (fair) to * * * * * (excellent). |
Front Page PROGRAMS GROUPED BY FUNCTION
|
* * *
RAFF is a simple file finder for the OS/2 command line. Not particularly unique but it can also search inside ZIP archives (i.e., files with *.zip extension). Requires InfoZip for OS/2. RAFF can be run in either interactive or batch mode, and results can be logged to a file. This program is my first (and only) serious foray into the Rexx programming language. Archive searches are slower with the latest version of InfoZip.
DESCRIPTION: Rexx file finder with option to find path/filename string in
ZIP archives.
USAGE: raff [drv:\path\]filesp [zipstr] [-z|-b|-zb]
NOTE: -z requires usage: raff [drv:\path\]zipstr -z[b] (see examp.4)
filesp = filespec (wildcards ok). Recursive search from root dir unless
filesp preceded with pathname\ or drv:\pathname\
zipstr = *NON-WILDCARD* filename string to search for in zip file list.
If zip contains path info, path and/or filename may be matched.
Requires InfoZip's UNZIP utility.
-z = Search only ZIPs (-zb = zips only, batchmode)
-b = Batch mode- no display pausing or redirect to file \FILEFND.TXT
-? = Display usage (this screen).
EXAMPLES:
1. raff *.txt = find all *.txt files, recursed from root; no zip search
2. raff *.txt .txt = as above but also search in zips for .txt files
3. raff f:\os2\*.txt .txt -b = as above but recursed from f:\os2, batchmode
4. raff f:\os2\.txt -zb = as above but zip-only search
_________________________________________________________
[RAFF File Finder 1.0.2, 08-01-96. (C)1996. Richard Green ]
* *
Wrap is my port to OS/2 of a DOS filter by Phil Wilk. Wrap takes piped command output and wraps long lines at the right margin without breaking words. Long lines become more readable. C source included.
(c)1997 Richard L. Green