[1174] in Release_7.7_team

home help back first fref pref prev next nref lref last post

Re: Suggest from Michael Jacknis

daemon@ATHENA.MIT.EDU (Bruce R. Lewis)
Wed Dec 17 12:42:30 1997

To: oliver thomas <othomas@MIT.EDU>
Cc: release-team@MIT.EDU
From: brlewis@MIT.EDU (Bruce R. Lewis)
Date: 17 Dec 1997 12:42:23 -0500
In-Reply-To: oliver thomas's message of Wed, 17 Dec 1997 11:27:58 EST

oliver thomas <othomas@MIT.EDU> writes:

>   alias zpq zwrite -n \`lpq -P\!:1 \| awk \'\{print \$2\;}\' \| tail +3\`
> 
> usage is "zpq printername".  it should do what mike wants in a pretty
> straightforward way.  the only thing "wrong" with it is that people with
> multiple jobs in the queue get multiple copies of the zephyr message, one
> per job.

To get rid of the duplicates, pipe it through sort -u.

-- 
Bruce R. Lewis			<brlewis at MIT.EDU>
MIT Information Systems		<URL:http://web.mit.edu/brlewis/www/>

home help back first fref pref prev next nref lref last post