tabset -- substitues space characters for tabs
dbprint [-h[elp] \ [-l[iteral] \ [-t[ab]# [-t[ab]# ... [-t[ab]# \ [-w[eb] \ <STDIN >STDOUT
-h prints help message -l operates as a literal typewriter, skipping to next available tab -t uses the given number as a tab stop (default: every 8 characters) -w ignore all HTML constructs
The text presented at STDIN is stripped of tab characters and spaces are inserted to provide the functionality. By default tabs are located every 8 characters. When one or more tabs are provided, those numbers are used.
By default a tab position which has been passed by is ignored in the output. Use of the -l flag causes the output to always use the next available flag.
Use of the -w flag causes the program not to count HTML constructs
of the form string
, but only explicit character spaces are inserted,
not ;nbsp
.
Note that there no spaces betwee the -t flag and its argument.
Supplying text with more tabs on a line than are explicitly provided for leads to uneven results.
dbprint
Bob Goeke
$Id: tabset.c,v 1.3 2013/07/27 20:44:54 goeke Exp goeke $