docs/51444: [PATCH] The handbook script for dealing with postscript is broken
Mike Meyer
mwm at mired.org
Sat Apr 26 15:40:13 UTC 2003
>Number: 51444
>Category: docs
>Synopsis: [PATCH] The handbook script for dealing with postscript is broken
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Apr 26 08:40:11 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Mike Meyer
>Release: FreeBSD 4.8-PRERELEASE i386
>Organization:
Meyer Consulting
>Environment:
System: FreeBSD guru.mired.org 4.8-PRERELEASE FreeBSD 4.8-PRERELEASE #18: Mon Feb 24 12:02:57 CST 2003 mwm at guru.mired.org:/sharetmp/obj/usr/src/sys/GURU i386
>Description:
The handbook script for filtering postscript through gs is
broken. It includes a second, unneeded invocation of gs that was
probably meant to be commented out without explanation, and is
missing a continuation mark on one command.
>How-To-Repeat:
Read the handbook chapter on advanced printing, looking for
"gs ".
>Fix:
The attached patch removes the extra invocation, and adds in
the line continuation needed to make the script work properly.
--- chapter.sgml Mon Feb 24 09:52:54 2003
+++ /tmp/chapter.sgml Sat Apr 26 10:11:47 2003
@@ -1928,13 +1928,10 @@
# capture the stderr output from Ghostscript and mail it back to
# the user originating the print job.
#
- exec 3>&1 1>&2
+ exec 3>&1 1>&2 \
/usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=djet500 \
-sOutputFile=/dev/fd/3 - && exit 0
- #
- /usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=djet500 -sOutputFile=- - \
- && exit 0
else
#
# Plain text or HP/PCL, so just print it directly; print a form feed
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-doc
mailing list