XTABS v1.30 - expand tabs to spaces |
Revised 2-Jan-99. Copyright (c) 1996-99 by Rune Berg. TextTools Freeware. |
Usage | Description | Options | Return Codes | Version History | tt_r6
Usage | Top | Next |
xtabs [log logfile] [options] [infile] [to outfile]
Description | Top | Previous | Next |
xtabs copies infile to outfile, replacing every tab by enough spaces to reach the next tab position. Any other text is copied without change.
outfile will look the same as infile, provided the tab size used by xtabs is the same as that 'assumed' in infile.
The default tab size is 3, giving tab positions 4, 7, 10 ...
xtabs writes a one-line report to standard error (or logfile, if used) when done, e.g.:
xtabs: 42 tabs expanded
If you don't specify infile, xtabs reads from standard input.
If you don't specify outfile, xtabs writes to standard output.
If you don't specify logfile, xtabs writes error messages to
standard error.
Options | Top | Previous | Next |
xtabs recognizes the following command line options:
Option | Function |
---|---|
-nX | Use tab size X (2..128) instead of default 3. |
-nr | Don't print one-line report. |
-v | Print version banner and usage info to standard error (or logfile, if given), then exit. |
Return Codes | Top | Previous | Next |
xtabs returns with one of the following codes ("error levels"):
Code | Meaning |
---|---|
0 | Success |
102 | Incorrect command line arguments |
104 | Error opening file |
105 | I/O error |
107 | File name clash |
Version History | Top | Previous |
These are the released versions:
Version | Date | Changes |
---|---|---|
1.01 | 25-Feb-96 | n/a |
1.10 | 26-Sep-96 | * Very minor changes. |
1.10 | 11-May-97 | * Available as Win32 version. |
1.20 | 13-Jul-97 | * Now gives proper return codes. * New option: -nr * Bug-fix: didn't print report |
1.30 | 2-Jan-99 | * Win32 version now prints coloured response texts. |
End of document |