[comp.sys.sun] 386i's MS-DOS emulator and Postscript output

rbj@nav.icst.nbs.gov (Root Boy Jim) (12/03/88)

> From:    Jody Winston <shell!jody@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@nav.icst.nbs.gov> or <rbj@icst-cmr.arpa>
	Crackers and Worms -- Breakfast of Champions!