/usr/bin/ps2epsi bugs & fixes

Saito, Yasushi ysaito@exch.hpl.hp.com
Wed Aug 22 18:09:00 GMT 2001


This thing may be fixed already, but here it is anyway:

2001-08-22 Yasushi Saito <ysaito@hpl.hp.com>

* /usr/bin/ps2epsi: fix two bugs: a missing colon after "%%Page" and a
missing space in sed's command line.

--- ps2epsi.org	Wed Aug 22 17:47:09 2001
+++ ps2epsi	Wed Aug 22 17:45:20 2001
@@ -58,11 +58,11 @@ rm -f $tmpfile
 cat << BEGINEPS
 save countdictstack mark newpath /showpage {} def /setpagedevice {pop} def
 %%EndProlog
-%%Page 1 1
+%%Page: 1 1
 BEGINEPS
 
 cat ${infile} |
-sed -e '/^%%BeginPreview:/,/^%%EndPreview[^!-~]*$/d' -e '/^%!PS-Adobe/d'\
+sed -e '/^%%BeginPreview:/,/^%%EndPreview[^!-~]*$/d' -e '/^%!PS-Adobe/d' \
 -e '/^%%[A-Za-z][A-Za-z]*[^!-~]*$/d' -e '/^%%[A-Za-z][A-Za-z]*: /d'
 
 cat << ENDEPS

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list