INTRODUCTION
Tab is basically a program to detab and entab files. It will also trim white
space from lines. Further it will remove all blank lines from a file or
leave a file with no more than one blank line together. That is, if a file
has areas with two or more blank lines, you can condense them to one.
USAGE
The following is the help screen that you see when you type Tab /? at the
command line.
USAGE: Tab [/?] [/D|/E] [/A|/B] [/1-9] [/T|/L|/R|/N|/O] FileSpec ...
/? Help. Display this help screen.
/D Detab. Convert tabs to spaces. DEFAULT
/E Entab. Convert spaces to tabs.
/A All. Convert all spaces/tabs. DEFAULT
/B Begin. Convert only beginning spaces/tabs.
/1-9 Tab size to use. 1 through 9 spaces. DEFAULT 2
/T Trim. Trim leading/trailing spaces/tabs from all lines.
/L LeftTrim. Trim leading spaces/tabs from all lines.
/R RightTrim. Trim trailing tabs from all lines.
/N NoBlankLines. Clears all lines with only white space.
/O OneBlankLine. No more than one consecutive blank line.
FileSpec File name/specifications. Can be more than one.
Use double quotes, "File Spec", if there is a space in the file spec.
Tab 1.0 Copyright 1998 by Ronald Terry Constant
Options are not case sensitive. The options, /D|/E and /A|/B and /1-9,
all work together. The options, /T|/L|/R|/N|/O, are all independent
of the options about tabs. Entab with All is not yet implemented.
Tab 1.0
Tab 1.0
This one, is for those shards where several people used several different "formats" for their code. This will help you tab/detab the src/inc/etc as you want it to be. Very handy little tool.
- Attachments
-
tab4tp10.zip- Tab 1.0
- (174.85 KiB) Downloaded 311 times