tabs converted to spaces?

Dave Turner dmt at ptsfa.PacBell.COM
Tue Jul 26 07:51:00 AEST 1988


In article <453 at jonlab.UUCP> jon at jonlab.UUCP (Jon H. LaBadie) writes:
>
>	newform -i6,20,35 file_name
>
>for columns at 0, 6, 20, and 35.  Tabs in the file, spaces
>on standard out.

The command as shown will output tabs because an output tabspec was omitted.

For an input file with tabs that are assumed to be set in columns 6, 20 and 35
with spaces in the output the newform command should be:

	newform -i6,20,35 -o-0 file_name

The -o-0 argument says to output tabs that are assumed to be set every zero
characters. The default is -o-8 (tabs assumed to be set every eight characters).






-- 
Dave Turner	415/542-1299	{att,bellcore,sun,ames,pyramid}!pacbell!dmt



More information about the Comp.unix.questions mailing list