home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Current Shareware 1994 January
/
SHAR194.ISO
/
calculat
/
addcol.zip
/
ADDCOL.DOC
next >
Wrap
Text File
|
1993-07-14
|
3KB
|
62 lines
ADDCOL
Free DOS utility: adds a column of numbers in a text file
Version 1.00 - July 14, 1993
(c) 1993
by
David Daniel Anderson
Reign Ware
ADDCOL simply adds a column of numbers in a text file.
Usage: ADDCOL <file> [<column # start in> <column width>]
ADDCOL takes one or three parameters on the command line. The first, which
is mandatory, is the name of the text file in which the numbers appear.
The other two are optional, but must both appear - and in the proper order -
if at all. The second is the column in which the left most applicable digit
appears, and the third is the width of the column of numbers. A column of
1 and width of 50 are assumed if none are given. (Wildcards not allowed.)
Example: ADDCOL phone.bil 61 4
will output for the following (if it is in a file called phone.bil):
1-718-321-0470 06/11/93 1:15 am 6 min. 0.78
1-718-939-5462 06/11/93 12:54 am 5 min. 0.65
1-617-354-5776 06/13/93 1:03 am 3 min. 0.39
1-617-354-5776 06/13/93 3:04 am 1 min. 0.13
1-508-820-7360 06/13/93 11:16 pm 12 min. 1.56
1-414-354-8670 06/13/93 11:27 pm 5 min. 0.65
1-617-354-5776 06/15/93 11:12 pm 6 min. 0.78
1-408-655-8294 06/15/93 11:42 pm 5 min. 0.65
1-508-626-2445 06/16/93 1:19 am 3 min. 0.39
1-718-321-0470 06/16/93 1:40 am 7 min. 0.91
1-617-354-5776 06/16/93 1:43 am 3 min. 0.39
1-617-354-5776 06/16/93 12:07 am 8 min. 1.04
1-508-820-7360 06/17/93 1:47 am 5 min. 0.65
1-617-354-5776 06/19/93 3:38 pm 3 min. 0.39
1-508-820-7360 06/19/93 7:47 pm 2 min. 0.26
1-508-820-7360 06/19/93 11:35 pm 6 min. 0.78
1-718-321-0470 06/19/93 11:52 pm 1 min. 0.13
1-508-820-7360 06/21/93 4:45 am 12 min. 1.56
1-718-939-5462 06/21/93 6:00 am 1 min. 0.13
1-617-354-5776 06/21/93 6:07 am 2 min. 0.26
1-617-354-5776 06/21/93 6:13 am 2 min. 0.26
1-508-820-7360 06/23/93 1:48 am 1 min. 0.13
ADDCOL- Free DOS utility: adds a column of numbers in a text file.
V1.00: July 14, 1993. (c) 1993 by David Daniel Anderson - Reign Ware.
The 22 numbers from "phone.bil" total 12.87