Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Sep 2002 10:33:54 +0200
From:      Roman Neuhauser <neuhauser@bellavista.cz>
To:        Garance A Drosihn <drosih@rpi.edu>
Cc:        Warren Block <wblock@wonkity.com>, FreeBSD-Questions@FreeBSD.ORG
Subject:   Re: lpr Job Name
Message-ID:  <20020913083354.GN45289@freepuppy.bellavista.cz>
In-Reply-To: <p05111702b9a6f1c5a0ef@[128.113.24.47]>
References:  <Pine.BSF.4.21.0209121826280.47166-100000@wonkity.com> <p05111702b9a6f1c5a0ef@[128.113.24.47]>

next in thread | previous in thread | raw e-mail | index | archive | help
# 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020913083354.GN45289>