From owner-freebsd-standards@FreeBSD.ORG Fri Oct 2 09:30:06 2009 Return-Path: Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA9371065676 for ; Fri, 2 Oct 2009 09:30:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A6C9A8FC15 for ; Fri, 2 Oct 2009 09:30:06 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n929U6fj033022 for ; Fri, 2 Oct 2009 09:30:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n929U6K3033019; Fri, 2 Oct 2009 09:30:06 GMT (envelope-from gnats) Date: Fri, 2 Oct 2009 09:30:06 GMT Message-Id: <200910020930.n929U6K3033019@freefall.freebsd.org> To: freebsd-standards@FreeBSD.org From: dfilter@FreeBSD.org (dfilter service) Cc: Subject: Re: standards/129554: commit references a PR X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2009 09:30:06 -0000 The following reply was made to PR standards/129554; it has been noted by GNATS. From: dfilter@FreeBSD.org (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: standards/129554: commit references a PR Date: Tue, 29 Sep 2009 21:29:20 +0000 (UTC) Author: jilles Date: Tue Sep 29 21:28:32 2009 New Revision: 197625 URL: http://svn.freebsd.org/changeset/base/197625 Log: Fix using lp(1) without the new -t option after r194171. PR: standards/129554 Tested by: Steve Kargl MFC after: 1 week Modified: head/usr.sbin/lpr/lp/lp.sh Modified: head/usr.sbin/lpr/lp/lp.sh ============================================================================== --- head/usr.sbin/lpr/lp/lp.sh Tue Sep 29 21:25:59 2009 (r197624) +++ head/usr.sbin/lpr/lp/lp.sh Tue Sep 29 21:28:32 2009 (r197625) @@ -70,7 +70,7 @@ do s) # (silent option) : ;; t) # title for banner page - title="-J${OPTARG}";; + title="${OPTARG}";; *) # (error msg printed by getopts) exit 2;; esac @@ -78,4 +78,4 @@ done shift $(($OPTIND - 1)) -exec /usr/bin/lpr "-P${dest}" ${symlink} ${ncopies} ${mailafter} "${title}" "$@" +exec /usr/bin/lpr "-P${dest}" ${symlink} ${ncopies} ${mailafter} ${title:+-J"${title}"} "$@" _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"