Subject: Re: cat(1) question: multiple "-"s
To: Johnny Billquist <firstname.lastname@example.org>
From: Chavdar Ivanov <email@example.com>
Date: 04/18/2006 15:43:33
On 18/04/06, Johnny Billquist <firstname.lastname@example.org> wrote:
> Hubert Feyrer wrote:
> > On Tue, 18 Apr 2006, Johnny Billquist wrote:
> >> Try something simple like "cat - makefile -" ?
> >> Don't know how much sense I can claim it makes, but it's a way of
> >> putting user input before and after some other file.
> > I understand it makes some sense for interactive use, but is that reall=
> > the only point?
> Think so. You can't get an EOF from a redirected input, and then provide
> more data that way.
> But maybe I've missed something?
Yes, the fact that there some other shells available...
root@loan8> cat /tmp/1 =20
root@loan8> cat /tmp/2 =20
root@loan8> cat /tmp/3 =20
root@loan8> cat - - - < /tmp/1 < /tmp/2 </tmp/3 =20
> Johnny Billquist || "I'm on a bus
> || on a psychedelic trip
> email: email@example.com || Reading murder books
> pdp is alive! || tryin' to stay hip" - B. Idol