386i's MS-DOS emulator and Postscript output

Root Boy Jim rbj at nav.icst.nbs.gov
Sat Dec 3 04:06:12 AEST 1988


> From:    Jody Winston <shell!jody at gazette.bcm.tmc.edu>

> The dos2unix command that is supplied with the 386i removes the extra
> carriage returns and fixes the end of line character in MS-DOS files, but
> does not remove other control characters that might be found in the file....

Your program has already been written. It is called `tr'. Try:

		tr -d '\004\015\032'

as a filter. Tr also deletes nulls, but you probably don't want to send
them to a postscript printer either.

	(Root Boy) Jim Cottrell	(301) 975-5688
	<rbj at nav.icst.nbs.gov> or <rbj at icst-cmr.arpa>
	Crackers and Worms -- Breakfast of Champions!



More information about the Comp.sys.sun mailing list