Dec 252017
 
Removes tabs from text files, keeps backup. Includes ASM source code.
File TAB.ZIP from The Programmer’s Corner in
Category Word Processors
Removes tabs from text files, keeps backup. Includes ASM source code.
File Name File Size Zip Size Zip Type
TAB.ASM 11718 3899 deflated
TAB.COM 1776 1257 deflated
TAB.DOC 1084 619 deflated

Download File TAB.ZIP Here

Contents of the TAB.DOC file


TABS v3by V. Buerg, mods by J.E. Arkay 10/90

Replaces strings of spaces with tabs to save space. It assumes your tab stops
are every 8 columns.
Leaves anything in 'quotes' or "double quotes" unmodified, so you can use it
on source code files.
Eliminates trailing spaces and tabs.

For files from programs written by those with unfortunate toilet training
experiences, it:
Replaces those 1-space tabs in MicroSoft text files with a single space.
Replaces any lone LF or CR with CR, LF (LF=line feed=0Ah, CR=carriage return
=0Dh). This is the ASCII standard.

Syntax:TABS [d:\path\]infile.ext [d:\path\]outfile.ext [/d]
final /d replaces tabs with spaces

Just run it to show these instructions.

Revisions:
Does NOT add an EOF (1Ah) to the end of the file, and does not rely on
an EOF character to find the end of the file.
Fixed bugs which left tabs on a last line of blanks, and lines longer
than max length (changed to 80 characters) if there was a tab near the end.
Changed to replace lone CR's with CR, LF pairs rather than ignoring
them.


 December 25, 2017  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)