From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f62f2,113f2ef135b1169d X-Google-Attributes: gidf62f2,public X-Google-Thread: 10b612,113f2ef135b1169d X-Google-Attributes: gid10b612,public X-Google-Thread: 1164f8,113f2ef135b1169d X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1990-02-01 18:45:46 PST Path: gmdzi!unido!mcsun!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 Xref: gmdzi comp.unix.ultrix:2157 comp.sys.dec:1939 comp.lang.postscript:3424 Posted: Thu Feb 1 19:27:15 1990 > 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 | \--------------------------------------------------------------/