home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 6 File / 06-File.zip / select.zip / readme.txt < prev    next >
Text File  |  1995-08-25  |  3KB  |  82 lines

  1.                        SELECT
  2.                        ======
  3.  
  4. This program reads all lines from the standard input and puts selected
  5. lines on the standard output.
  6.  
  7.  
  8. This is especially useful if you are looking for a quick way to
  9. eliminate all the garbage certain system-commands like pstat put out.
  10.  
  11. Just look for a pattern in the garbage-lines and exclude all lines
  12. which match that pattern (see example-procedure ps.cmd). (Using
  13. the default option -me).
  14.  
  15. Or look for a common pattern in the lines you are interested in
  16. (or the single line you are interested in) and include that line(s)
  17. (see example-procedures free.cmd and bytes.cmd). (Using the
  18. option -mi).
  19.  
  20.  
  21. The program looks for the pattern anywhere in the range specified
  22. by the -cf and -ct options. If you want to check for a pattern that
  23. always occurs on the same fixed location, just set the exact
  24. boundaries via the -cf and -ct options.
  25.  
  26. The pattern must not contain blanks, that is why you have to
  27. substitute blanks by the character specified by the -b option
  28. (the default value is -b⌡).
  29.  
  30.  
  31. For redirection of the standard in- and output use the pipe (|)
  32. or the < and > symbols. Of course, the program works for any ascii
  33. input file and is useful for other purposes than just truncating
  34. of system commands.
  35.  
  36. Apropos truncating: Use the -f and -t options to truncate each line
  37. before it is put on the standard output - just the columns
  38. specified by -f and -t are printed.
  39.  
  40.  
  41. SYSTEM REQUIREMENTS: ------ dllc101.dll needed ---------
  42. ===================
  43.  
  44. I ran the program on a no-name 386DX40 under OS/2 3.0 Warp. There
  45. should be no problems, however, using ANY other machine
  46. running OS/2 2.x (there are no programming-tricks, as you can
  47. see from the source-code).
  48.  
  49. For compiling, I used the GNU GCC/2 2.6.1 compiler. Therefore,
  50. the program requires the dllc101.dll in a directory specified in
  51. the LIBPATH-statement in your config.sys. You can get this dll from
  52. the hobbes.nmsu.edu or any comparable shareware-server.
  53. For example, on the March 1995 Hobbes-CDROM you can find it in the
  54. file base261.zip which is located in the \32bit\unix\gcc2_261
  55. directory.
  56.  
  57.  
  58. REGISTRATION
  59. ============
  60.  
  61. This program is freeware, so registration is not required! You can
  62. freely copy it, upload it to any Internet, CompuServe or BBS site
  63. and otherwise distribute it by all means - and freely use it!   ;-)
  64. (Of course, no warranties involved!)
  65.  
  66. You are not allowed, though, to sell the program!
  67.  
  68.  
  69.  
  70. Please, send any comments, suggestions, bug-reports etc. to
  71. me via Internet:
  72.  
  73.      e8525101@student.tuwien.ac.at
  74.  
  75. If you feel like it, send a small donation or a postcard
  76. to:
  77.  
  78.      Franz Steiger
  79.      Kreuzgasse 31/1/22
  80.      A-1180 Wien
  81.      AUSTRIA/Europe
  82.