Problems with forwarding PostScript files

Jeff Michaud michaud at decvax.dec.com
Fri Feb 2 05:27:15 AEST 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 at decwrl.dec.com  michaud at decvax.dec.com|
|DECnet-ULTRIX   #include <standard/disclaimer.h>              |
\--------------------------------------------------------------/



More information about the Comp.unix.ultrix mailing list