http://qa.mandrakesoft.com/show_bug.cgi?id=5158
Product: ghostscript
Component: program
Summary: ps2epsi stops when invoking sed
Product: ghostscript
Version: 7.07-0.7mdk
Platform: PC
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: program
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
When I run ps2epsi, I get the followin error message :
sed: -e expression n�1, caract�re 42: Invalid range end.
I get the error with any ps file.
The sed on my machine is sed-4.0.7-1mdk.
In the ps2epsi I replaced the lines :
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'
with
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'
(replaced [^!-~] with [^!-\~])
It seems to work on the files I needed to convert but I have no clue if it's
correct (because never used and don't know how to use sed).
--
Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.