From owner-freebsd-questions Fri Sep 13 1:34: 0 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B4BAE37B400 for ; Fri, 13 Sep 2002 01:33:57 -0700 (PDT) Received: from mail.thundernet.cz (mail.thundernet.cz [62.77.87.114]) by mx1.FreeBSD.org (Postfix) with SMTP id 4D3CC43E42 for ; Fri, 13 Sep 2002 01:33:56 -0700 (PDT) (envelope-from neuhauser@bellavista.cz) Received: (qmail 25539 invoked from network); 13 Sep 2002 08:33:49 -0000 Received: from unknown (HELO freepuppy.bellavista.cz) (62.168.44.50) by mail.thundernet.cz with SMTP; 13 Sep 2002 08:33:49 -0000 Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id B06D8CD; Fri, 13 Sep 2002 10:33:54 +0200 (CEST) Date: Fri, 13 Sep 2002 10:33:54 +0200 From: Roman Neuhauser To: Garance A Drosihn Cc: Warren Block , FreeBSD-Questions@FreeBSD.ORG Subject: Re: lpr Job Name Message-ID: <20020913083354.GN45289@freepuppy.bellavista.cz> Mail-Followup-To: Garance A Drosihn , Warren Block , FreeBSD-Questions@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG # drosih@rpi.edu / 2002-09-12 22:21:26 -0400: > At 6:37 PM -0600 9/12/02, Warren Block wrote: > >On Thu, 12 Sep 2002, Garance A Drosihn wrote: > > > A simple and mindless workaround would be to: > >> someprog | cat > /tmp/$USER/NameIWant > >> lpr -r -Pblah /tmp/$USER/NameIWant > > > >Well, yes, although in a couple of newsgroups I think that would be > >nominated for a "useless use of cat". 8-) > > Well, later I mentioned that "I wrote it that way, so you can see > that it's easy to make it a script". That's what the 'cat' is for. > You would put the 'cat' into the script, so that you can use the > script exactly as you would use the lpr command... actually, that snippet is a UUCA nominee because the cat there is completely useless. someprog > /tmp/$USER/NameIWant would work just as well. -- begin 666 nonexistent.vbs FreeBSD 4.6-STABLE 10:31AM up 23 days, 16:24, 11 users, load averages: 0.00, 0.02, 0.04 end To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message