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

  1.  
  2. FIELD:  Tara Datafile Utilities, v. 2.0, (c) 1987 by David C. Oshel
  3.  
  4. Projects selected fields from MailMerge-type records to standard output.
  5.  
  6. Usage:    C>FIELD 1 2 7 <names.dat >small.dat
  7.           C>tsort 8 <names.dat | FIELD -s. 3:20 12 8 | more
  8.           C>pick -f* 8 eq X <names.dat | FIELD -f* 2: 1 2 3 >temp
  9.  
  10. Your INPUT DATAFILE (with <) is chosen on the command line.  You may give a
  11. complete pathname to another drive and/or subdirectory.
  12.  
  13. The first example (with >) COPIES fields 1, 2 and 7 to records in "small.dat".
  14. The second FORMATS field 3 in 20 DOTS, fields 12 & 8 are formatted implicitly.
  15. The third sets field separator to "*", and FORMATS all fields in default width.
  16.  
  17. Formatted output, selected by the "fieldnumber:width" style, is most usefully
  18. received on-screen.  If the contents of a field are longer than the width, the
  19. field is truncated.  Fields are left justified, but if the data is apparently
  20. numeric, it will be right justified.  Output remains in standard record format
  21. if there's NO COLON argument.  Default width is SAME AS LAST or else 15 spaces.
  22. An extra space appears between formatted fields.  A field number may not be 0.
  23.  
  24.