home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 17 / CD_ASCQ_17_101194.iso / vrac / pln101.zip / PLN.DOC < prev    next >
Text File  |  1994-09-15  |  2KB  |  63 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.                         PLN v1.01 (formerly LINEN5)
  7.               DOS utility: number text file lines sequentially
  8.                   Freeware, copyright (c) 1994 [94/09/15]
  9.                                      by
  10.                            David Daniel Anderson
  11.                                  Reign Ware
  12.  
  13.                ** READ REIGNWAR.TXT FOR LEGAL MUMBO JUMBO **
  14.  
  15.  
  16.  
  17.  
  18. PLN inserts sequential 6-digit numbers at the beginning of each line of a
  19.   text file, to prepare it for printing or sorting.  PLN can also remove
  20.   these line numbers, simply by adding a switch to the command line.
  21.  
  22. The line numbers start at 1.  A colon and space is first appended to the
  23.   number string, and then the string is right-justified within an eight
  24.   character wide column (ie. "    79: This is the seventy-ninth line.").
  25.  
  26. Usage: PLN infile outfile [/r (remove numbers)]
  27.  
  28. Where: infile = name of the input file*.  No wildcards allowed.  Required.
  29.       outfile = name of the output file*.  No wildcards allowed.  Required.
  30.            /r = switch to force PLN to remove the numbers which it had
  31.                 previously added to the front of the lines.  Optional.
  32.  
  33.  * The infile must already exist, and the outfile must NOT exist.
  34.  
  35. Examples: PLN trek.txt trek.prn
  36.           PLN pln.src pln.pas /r
  37.  
  38. Note:  Lines must not exceed 247 characters before the numbers are added.
  39.   This is a fundamental limitation of Pascal, and I cannot work around it.
  40.   Characters beyond 247 will be lost.
  41.  
  42. CAUTION: Before deleting the "infile", make sure the output file was created
  43.   EXACTLY as expected.  If PLN comes across unexpected input, it will erase
  44.   the outfile, and then abort.  Deleting the infile would leave NO files!
  45.  
  46. WARNING: If you used LINEN5 in the past, please note that batch files and
  47.   aliases will most likely have to be revised to account for the new wider
  48.   line number format!
  49.  
  50.  
  51.                ** READ REIGNWAR.TXT FOR LEGAL MUMBO JUMBO **
  52.  
  53. {------------------------------------------------------------------------------
  54.  
  55.                                 REVISION HISTORY
  56.  
  57. v1.00  : 1993/07/14.  First public release.  DDA
  58. v1.01  : 1994/09/15.  Improved efficiency, speed, documentation, help screen
  59.                         and error handling.  Renamed from LINEN5 to PLN.  DDA
  60.  
  61. ------------------------------------------------------------------------------}
  62.  
  63.