[Eug-lug] tee's opposite?

Patrick R. Wade prwade at oip.net
Wed Aug 2 12:07:58 PDT 2006


Rob Hudson wrote:
> Is there a way to tail 2 files at the same time?
> 
> I remembered tee had something to do with this but it does the opposite
> of what I want -- 1 input, multiple outputs.
> 
> I want multiple inputs, 1 output (filtered through tail).

What about cat?

$ cat foo bar baz | tail # yields bottom of total output

or do you mean you want multiple columns:

---------------------------------------------------------------
tail of foo in this column  | tail of bar in this column | etc

for that, might try column(1) or paste(1).

-- 
On two occasions I have been asked [by members of Parliament!], 'Pray,
Mr. Babbage, if you put into the machine wrong figures, will the right
answers come out?' I am not able rightly to apprehend the kind of
confusion of ideas that could provoke such a question.
	-- Charles Babbage


More information about the EUGLUG mailing list