Subject: Re: cat(1) question: multiple "-"s
To: Hubert Feyrer <hubert@feyrer.de>
From: Johnny Billquist <bqt@update.uu.se>
List: netbsd-users
Date: 04/18/2006 13:30:05
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.
Johnny
Hubert Feyrer wrote:
>
> From cat(1):
>
> The cat utility reads files sequentially, writing them to the standard
> output. The file operands are processed in command line order. A
> single
> dash represents the standard input, and may appear multiple times
> in the
> file list.
>
> What sense do multiple appearances of '-' make on the cat command line,
> how is that supposed to work?
>
>
> - Hubert
--
Johnny Billquist || "I'm on a bus
|| on a psychedelic trip
email: bqt@update.uu.se || Reading murder books
pdp is alive! || tryin' to stay hip" - B. Idol