home *** CD-ROM | disk | FTP | other *** search
/ Current Shareware 1994 January / SHAR194.ISO / calculat / addcol.zip / ADDCOL.DOC next >
Text File  |  1993-07-14  |  3KB  |  62 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.                                      ADDCOL
  7.            Free DOS utility: adds a column of numbers in a text file
  8.                           Version 1.00 - July 14, 1993
  9.                                     (c) 1993
  10.                                        by
  11.                              David Daniel Anderson
  12.                                    Reign Ware
  13.  
  14.  
  15.  
  16.  
  17.  
  18. ADDCOL simply adds a column of numbers in a text file.
  19.  
  20. Usage:  ADDCOL <file> [<column # start in> <column width>]
  21.  
  22. ADDCOL takes one or three parameters on the command line.  The first, which
  23. is mandatory, is the name of the text file in which the numbers appear.
  24. The other two are optional, but must both appear - and in the proper order -
  25. if at all.  The second is the column in which the left most applicable digit
  26. appears, and the third is the width of the column of numbers.  A column of
  27. 1 and width of 50 are assumed if none are given.  (Wildcards not allowed.)
  28.  
  29. Example:  ADDCOL phone.bil 61 4
  30.  
  31. will output for the following (if it is in a file called phone.bil):
  32.  
  33.  
  34.       1-718-321-0470       06/11/93   1:15 am   6 min.      0.78
  35.       1-718-939-5462       06/11/93  12:54 am   5 min.      0.65
  36.       1-617-354-5776       06/13/93   1:03 am   3 min.      0.39
  37.       1-617-354-5776       06/13/93   3:04 am   1 min.      0.13
  38.       1-508-820-7360       06/13/93  11:16 pm  12 min.      1.56
  39.       1-414-354-8670       06/13/93  11:27 pm   5 min.      0.65
  40.       1-617-354-5776       06/15/93  11:12 pm   6 min.      0.78
  41.       1-408-655-8294       06/15/93  11:42 pm   5 min.      0.65
  42.       1-508-626-2445       06/16/93   1:19 am   3 min.      0.39
  43.       1-718-321-0470       06/16/93   1:40 am   7 min.      0.91
  44.       1-617-354-5776       06/16/93   1:43 am   3 min.      0.39
  45.       1-617-354-5776       06/16/93  12:07 am   8 min.      1.04
  46.       1-508-820-7360       06/17/93   1:47 am   5 min.      0.65
  47.       1-617-354-5776       06/19/93   3:38 pm   3 min.      0.39
  48.       1-508-820-7360       06/19/93   7:47 pm   2 min.      0.26
  49.       1-508-820-7360       06/19/93  11:35 pm   6 min.      0.78
  50.       1-718-321-0470       06/19/93  11:52 pm   1 min.      0.13
  51.       1-508-820-7360       06/21/93   4:45 am  12 min.      1.56
  52.       1-718-939-5462       06/21/93   6:00 am   1 min.      0.13
  53.       1-617-354-5776       06/21/93   6:07 am   2 min.      0.26
  54.       1-617-354-5776       06/21/93   6:13 am   2 min.      0.26
  55.       1-508-820-7360       06/23/93   1:48 am   1 min.      0.13
  56.  
  57.  
  58. ADDCOL- Free DOS utility: adds a column of numbers in a text file.
  59. V1.00: July 14, 1993. (c) 1993 by David Daniel Anderson - Reign Ware.
  60. The 22 numbers from "phone.bil" total 12.87
  61.  
  62.