Package: gs-common
Version: 0.3.13

ps2ps has no support for pipes because of wildcard bug in script.
Standalone '-' should not be considered as "option". It should be
considered as "filename", i.e. argument. Solution: request one more
character after '-', see patch. This bug occurs in following scripts:
ps2ps, ps2ps2, eps2eps.

Here is simple patch of the script:

--- /usr/bin/ps2ps      2006-11-10 17:44:33.000000000 +0100
+++ ps2ps       2007-05-23 13:39:36.000000000 +0200
@@ -10,7 +10,7 @@
 while true
 do
        case "$1" in
-       -*) OPTIONS="$OPTIONS $1" ;;
+       -?*) OPTIONS="$OPTIONS $1" ;;
        *)  break ;;
        esac
        shift

-- 

                            Tomas Ebenlendr
                            http://drak.ucw.cz/~ebik



Reply via email to