Xref: utzoo comp.unix.ultrix:2693 comp.sys.dec:2554 comp.lang.postscript:3989 Path: utzoo!attcan!uunet!samsung!brutus.cs.uiuc.edu!wuarchive!decwrl!shlump.nac.dec.com!michaud From: michaud@decvax.dec.com (Jeff Michaud) Newsgroups: comp.unix.ultrix,comp.sys.dec,comp.lang.postscript Subject: Re: Problems with forwarding PostScript files Message-ID: <8019@shlump.nac.dec.com> Date: 1 Feb 90 18:27:15 GMT References: <807@granite.dec.com> Sender: news@shlump.nac.dec.com Followup-To: comp.unix.ultrix Organization: DEC Lines: 18 > Sometimes perfectly good .PS documents are ruined by sending them by > email. > > The problem became immediately apparent - the ULTRIX (and presumably all UNIX) > forwarding mechanism adds a "dash space" to any dashes it finds in the first > column. How about simply pipe'ing the .ps file through a simple sed script to add a space before every line that begins with a dash. Then mh would leave it alone. sed -e '/^-/s/^-/ /' file.ps | mail -s subject rcpt ..... /--------------------------------------------------------------\ |Jeff Michaud michaud@decwrl.dec.com michaud@decvax.dec.com| |DECnet-ULTRIX #include | \--------------------------------------------------------------/