Path: utzoo!utgpu!watmath!clyde!att!pacbell!ames!mailrus!cornell!uw-beaver!rice!sun-spots-request From: rbj@nav.icst.nbs.gov (Root Boy Jim) Newsgroups: comp.sys.sun Subject: 386i's MS-DOS emulator and Postscript output Message-ID: <8811181837.AA00620@nav.icst.nbs.gov> Date: 2 Dec 88 18:06:12 GMT Sender: usenet@rice.edu Organization: Rice University, Houston, Texas Lines: 16 Approved: Sun-Spots@rice.edu Original-Date: Fri, 18 Nov 88 13:37:00 EST X-Sun-Spots-Digest: Volume 7, Issue 32, message 15 of 17 > From: Jody Winston> 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 or Crackers and Worms -- Breakfast of Champions!