home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / database / tara201.zip / PICK.DOC < prev    next >
Text File  |  1987-05-12  |  1KB  |  24 lines

  1.  
  2. PICK:  Tara Datafile Utilities, v. 2.0, (c) 1987 by David C. Oshel
  3.  
  4. Picks a subset of MailMerge-type records and copies them to standard output.
  5.  
  6. Usage:     C>pick 7 gt $10,000.00 <salary.dat >short.dat
  7.            C>pick 5 ne "Ames, IA" <salary.dat >>short.dat
  8.            C>pick Miocene <b:\datastar\biblio.dta
  9.            C>pick -f\ 13 ge r <names.dat | pick -f\ 13 lt s | more
  10.  
  11. Your INPUT DATAFILE (with <) is chosen on the command line.  You may give a
  12. complete pathname to another drive and/or subdirectory.
  13.  
  14. The first example (with >) sends the OUTPUT to a new file, named "short.dat".
  15. The second (with >>) appends additional output to the same file, "short.dat".
  16. The third sends any record with "Miocene" anywhere to the SCREEN (with no >).
  17. The fourth, if field 13 (separated by "\") starts with "R", view it on screen.
  18.  
  19. Commands have three arguments:  The FIELD NUMBER, OPERATOR, and SEARCH VALUE.
  20. The operators are EQ, NE, LT, GT, LE, GE, /LT, /GT, /LE, /GE, HAS and LACKS.
  21. Field X is to the immediate left of the Xth comma, but field 0 is the entire
  22. record.  Search values may be quoted.  Arguments may be missing.  The default
  23. operator is HAS, "contains", or GE if field is not 0.  "/LT" means NOT LT.
  24.