home *** CD-ROM | disk | FTP | other *** search
- DOTAB (do tabs)
- Version 1.00
- Ron Gazaway
-
- Purpose
- -------
-
- This utility will insert a user selectable number of spaces at the
- beginning of every line in a document. This function will be usefull
- to those using printers which do not support a "Set Left Margin"
- escape sequence.The IBM ProPrinter for example. Without setting the
- left margin in some way, many of the documentation files which are
- provided with Shareware packages will print against the left edge of
- the page. This leaves no room for punching three ring binder holes.
-
- Usage
- -----
-
- DOTAB source_file nspaces destination_file
-
- Where: source_file is the name of the text file you need shifted
- right. Full path names are supported. Wildcard
- characters are not.
-
- nspaces is the number of spaces to be inserted at the begining
- of each line. Valid range is 1 to 99 inclusive.
- DEFAULT = 5.
-
- destination_file is the file which will be used to write the
- expanded text file. DEFAULT = source_file (without
- extension) + .TAB. IF A FILE WITH THE
- destination_file NAME EXISTS, IT WILL BE DESTROYED.
-
- Note: Spaces must be used as the parameter delimeters.
-
- Examples
- --------
-
- DOTAB dotab.doc
- The file dotab.doc will be written to the file dotab.tab with
- five (5) spaces added to the start of each line.
-
- DOTAB dotab.doc 10
- The file dotab.doc will be written to the file dotab.tab with ten
- (10) spaces added to the start of each line.
-
- DOTAB dotab.doc 10 junk.txt
- The file dotab.doc will be written to the file junk.txt with ten
- (10) spaces added to the start of each line.
-
- DOTAB c:\docs\dotab.doc 10 c:\temp\junk.txt
- The file dotab.doc on subdirectory \docs of disk C: will be
- written to the file junk.txt on subdirectory \temp of disk C:
- with ten (10) spaces added to the start of each line.
-
- error codes
- -----------
-
- couldn't open input file "source_file"
-
- There is some problem with opening the specified input file.
-
- couldn't open output file "destination_file"
-
- There is some problem with opening the specified output file.
-
-
- Revision history
- ----------------
- Version 1.00 - 3/3/87
- Original version (written using Microsoft C 4.0)
-
- Copyright/License/Warranty
- --------------------------
-
- This document and the program file DOTAB.EXE ("the software") are
- copyrighted by the author. The copyright owner hereby licenses you
- to: use the software; make as many copies of the program and
- documentation as you wish; give such copies to any one; and distribute
- the software and documentation via electronic means. There is no
- charge for any of the above. However, you are specifically prohibited
- from charging, or requesting donations, for any such copies, however
- made; and from distributing the software and/or documentation with
- commercial products without prior permission. An exception is granted
- to not-for-profit user's groups, which are authorized to charge a
- small fee (not to exceed $7) for materials, handling, postage, and
- general overhead. NO FOR-PROFIT ORGANIZATION IS AUTHORIZED TO CHARGE
- ANY AMOUNT FOR DISTRIBUTION OF COPIES OF THE SOFTWARE OR
- DOCUMENTATION, OR TO INCLUDE COPIES OF THE SOFTWARE OR DOCUMENTATION
- WITH SALES OF THEIR OWN PRODUCTS. THIS INCLUDES A SPECIFIC
- PROHIBITION AGAINST FOR-PROFIT ORGANIZATIONS DISTRIBUTING THE
- SOFTWARE, EITHER ALONE OR WITH OTHER SOFTWARE, AND CHARGING A
- "HANDLING" OR "MATERIALS" FEE OR ANY OTHER SUCH FEE FOR THE
- DISTRIBUTION. NO FOR-PROFIT ORGANIZATION IS AUTHORIZED TO INCLUDE THE
- SOFTWARE ON ANY MEDIA FOR WHICH MONEY IS CHARGED. PERIOD. There is
- no restriction on the use of this software in commercial or
- institutional environments. No copy of the software may be
- distributed or given away with out this document; and this notice must
- not be removed. There is no warranty of any kind, and the copyright
- owner is not liable for damages of any kind. By using this software,
- you agree to this.
-
- The software and documentation are:
-
- Copyright (c) 1987 by
- Ronald O. Gazaway
- 6-2 King Arthur's Way
- Newington CT 06111