From owner-man-jp-reviewer@jp.FreeBSD.org Fri Aug 23 13:18:47 2002
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) id g7N4IlM31771;
	Fri, 23 Aug 2002 13:18:47 +0900 (JST)
	(envelope-from owner-man-jp-reviewer@jp.FreeBSD.org)
Received: from sccrmhc01.attbi.com (sccrmhc01.attbi.com [204.127.202.61])
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with ESMTP/inet id g7N4Ik331765
	for <man-jp-reviewer@jp.FreeBSD.org>; Fri, 23 Aug 2002 13:18:46 +0900 (JST)
	(envelope-from horikawa@jp.FreeBSD.org)
Received: from localhost ([12.252.70.36]) by sccrmhc01.attbi.com
          (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP
          id <20020823041838.VXH11061.sccrmhc01.attbi.com@localhost>
          for <man-jp-reviewer@jp.FreeBSD.org>;
          Fri, 23 Aug 2002 04:18:38 +0000
Message-Id: <20020822.221836.63132017.horikawa@attbi.com>
To: man-jp-reviewer@jp.FreeBSD.org
From: Kazuo Horikawa <horikawa@jp.FreeBSD.org>
X-Mailer: Mew version 2.2 on Emacs 20.7 / Mule 4.0 (HANANOEN)
Mime-Version: 1.0
Content-Type: Multipart/Mixed;
 boundary="--Next_Part(Thu_Aug_22_22:18:36_2002_971)--"
Content-Transfer-Encoding: 7bit
Reply-To: man-jp-reviewer@jp.FreeBSD.org
Precedence: list
Date: Thu, 22 Aug 2002 22:18:36 -0600
X-Sequence: man-jp-reviewer 4216
Subject: [man-jp-reviewer 4216] lpc.8 1.8.2.10->1.8.2.11
Errors-To: owner-man-jp-reviewer@jp.FreeBSD.org
Sender: owner-man-jp-reviewer@jp.FreeBSD.org
X-Originator: horikawa@jp.FreeBSD.org
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+020820

----Next_Part(Thu_Aug_22_22:18:36_2002_971)--
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit

lpc.8 $B$N(B 1.8.2.10->1.8.2.11 $BJ,$N:9J,$G$9!#(B
--
$BKY@nOBM:(B

----Next_Part(Thu_Aug_22_22:18:36_2002_971)--
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Content-Description: lpc.8.diff
Content-Disposition: inline; filename="lpc.8.diff"

--- lpc.8~	Sun Jul 21 00:24:04 2002
+++ lpc.8	Sun Aug 11 20:13:41 2002
@@ -30,11 +30,11 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     @(#)lpc.8	8.5 (Berkeley) 4/28/95
-.\" %FreeBSD: src/usr.sbin/lpr/lpc/lpc.8,v 1.8.2.10 2002/06/25 23:08:36 gad Exp %
+.\" %FreeBSD: src/usr.sbin/lpr/lpc/lpc.8,v 1.8.2.11 2002/07/26 03:12:07 gad Exp %
 .\"
 .\" $FreeBSD: doc/ja_JP.eucJP/man/man8/lpc.8,v 1.16 2002/07/21 05:44:33 horikawa Exp $
 .\"
-.Dd June 20, 2001
+.Dd July 16, 2002
 .Dt LPC 8
 .Os
 .Sh $BL>>N(B
@@ -90,6 +90,17 @@
 .Xr lpr 1
 $B$,?7$7$$%G!<%b%s$r%9%?!<%H$5$;$J$$$h$&$K(B) $B$7$^$9!#(B
 .Pp
+.It Ic bottomq Ar printer Xo
+.Op Ar jobspec ...
+.Xc
+$B;XDj$5$l$?%8%g%V$r;XDj$5$l$?=g=x$G<u$1IU$1!"(B
+$B$=$l$i$r%W%j%s%?%-%e!<$NKvHx$K0\F0$7$^$9!#(B
+$B3F(B
+.Ar jobspec
+$B$OJ#?t$N%W%j%s%H%8%g%V$K%^%C%A$7F@$^$9!#(B
+.Ar jobspec
+$B$N40A4$J5-=R$K$D$$$F$O8e=R$7$^$9!#(B
+.Pp
 .It Ic clean Brq Cm all | Ar printer
 $B%m!<%+%k%^%7%s>e$N;XDj$7$?%W%j%s%?$N%-%e!<$+$i!"=PNO$G$-$J$$(B ($B$9$J$o$A!"(B
 $B40A4$J%W%j%s%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%7%'%k$,E83+2DG=$J%Q%?!<%s%^%C%AJ8;z(B
+($B%+%l%s%H%G%#%l%/%H%j$K$"$k%U%!%$%k$K0MB8$7$^$9(B) $B$O!"(B
+.Nm
+$B$,L?Na$r=hM}$9$kA0$K%7%'%k$KE83+$5$l$F$7$^$$$^$9!#(B
+$B$3$N$h$&$J>l9g!"%Q%?!<%s%^%C%AJ8;z$r4^$`%Q%i%a!<%?$O%/%)!<%H$G3g$j!"(B
+$B%7%'%k$,E83+$7$J$$$h$&$K$7$F$/$@$5$$!#(B
 .Sh $B4XO"%U%!%$%k(B
 .Bl -tag -width /var/spool/*/lockx -compact
 .It Pa /etc/printcap

----Next_Part(Thu_Aug_22_22:18:36_2002_971)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Description: lpc.8.ediff
Content-Disposition: inline; filename="lpc.8.ediff"

diff -ur ../4.6-STABLE-20020715-JPSNAP/man8/lpc.8 man8/lpc.8
--- ../4.6-STABLE-20020715-JPSNAP/man8/lpc.8	Mon Jul 15 08:40:00 2002
+++ man8/lpc.8	Fri Aug  9 14:20:02 2002
@@ -30,9 +30,9 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     @(#)lpc.8	8.5 (Berkeley) 4/28/95
-.\" %FreeBSD: src/usr.sbin/lpr/lpc/lpc.8,v 1.8.2.10 2002/06/25 23:08:36 gad Exp %
+.\" %FreeBSD: src/usr.sbin/lpr/lpc/lpc.8,v 1.8.2.11 2002/07/26 03:12:07 gad Exp %
 .\"
-.Dd June 15, 2002
+.Dd July 16, 2002
 .Dt LPC 8
 .Os
 .Sh NAME
@@ -91,6 +91,18 @@
 .Xr lpr 1 )
 for the specified printers.
 .Pp
+.It Ic bottomq Ar printer Xo
+.Op Ar jobspec ...
+.Xc
+Take the specified jobs in the order specified and move them to the
+bottom of the printer queue.
+Each
+.Ar jobspec
+can match multiple print jobs.
+The full description of a
+.Ar jobspec
+is given below.
+.Pp
 .It Ic clean Brq Cm all | Ar printer
 Remove any temporary files, data files, and control files that cannot
 be printed (i.e., do not form a complete printer job)
@@ -187,16 +199,83 @@
 command is not restricted.
 .Pp
 .It Ic topq Ar printer Xo
-.Op Ar jobnum ...
-.Op Ar user ...
+.Op Ar jobspec ...
 .Xc
-Place the jobs in the order listed at the top of the printer queue.
+Take the specified jobs in the order specified and move them to the
+top of the printer queue.
+Each
+.Ar jobspec
+can match multiple print jobs.
+The full description of a
+.Ar jobspec
+is given below.
 .Pp
 .It Ic up Brq Cm all | Ar printer
 Enable everything and start a new printer daemon.
 Undoes the effects of
 .Ic down .
 .El
+.Pp
+Commands such as
+.Ic topq
+and
+.Ic bottomq
+can take one or more
+.Ar jobspec
+to specify which jobs the command should operate on.
+A
+.Ar jobspec
+can be:
+.Bl -bullet
+.It
+a single job number, which will match all jobs in the printer's queue
+which have the same job number.  Eg:
+.Ar 17 ,
+.It
+a range of job numbers, which will match all jobs with a number between
+the starting and ending job numbers, inclusive.  Eg:
+.Ar 21-32 ,
+.It
+a specific userid, which will match all jobs which were sent by that
+user.  Eg:
+.Ar jones ,
+.It
+a host name, when prefixed by an `@', which will match all jobs in
+the queue which were sent from the given host.  Eg:
+.Ar @freebsd.org ,
+.It
+a job range and a userid, separated by a `:', which will match all jobs
+which both match the job range and were sent by the specified user.  Eg:
+.Ar jones:17
+or
+.Ar 21-32:jones ,
+.It
+a job range and/or a userid, followed by a host name, which will match
+all jobs which match all the specified criteria.  Eg:
+.Ar jones@freebsd.org
+or
+.Ar 21-32@freebsd.org
+or
+.Ar jones:17@freebsd.org .
+.El
+.Pp
+The values for userid and host name can also include pattern-matching
+characters, similar to the pattern matching done for filenames in
+most command shells.
+Note that if you enter a
+.Ic topq
+or
+.Ic bottomq
+command as parameters on the initial
+.Nm
+command, then the shell will expand any pattern-matching characters
+that it can (based on what files in finds in the current directory)
+before
+.Nm
+processes the command.
+In that case, any parameters which include pattern-matching characters
+should be enclosed in quotes, so that the shell will not try to
+expand them.
 .Sh FILES
 .Bl -tag -width /var/spool/*/lockx -compact
 .It Pa /etc/printcap

----Next_Part(Thu_Aug_22_22:18:36_2002_971)----
