a2ps/a2ps-psset.patch
Tim Waugh 9e7cfb1097 - Fixed psset sed expression (bug #209613).
- Resolves: rhbz#209613
2006-10-17 12:18:08 +00:00

11 lines
471 B
Diff

--- a2ps-4.13/contrib/psset.in.psset 2006-10-06 13:12:03.000000000 +0100
+++ a2ps-4.13/contrib/psset.in 2006-10-06 13:12:09.000000000 +0100
@@ -241,7 +241,7 @@
# spaces with a `\' too...
pspagedevicelen=`echo "$pspagedevice" | wc -l`
pspagedevice=`echo "$pspagedevice" | \
- sed -e "$pspagedevicelen!s/\$/\\\\\\/;s/^/\\\\\\/"`
+ sed -e "$pspagedevicelen!s/\$/\\\\\\/;s/^ /\\\\\\ /"`
case $at in
0) # Insert last in the Setup, so that we win over other requests.