DragonFly BSD
DragonFly users List (threaded) for 2006-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Problem with url2pkg


From: "Jeremy C. Reed" <reed@xxxxxxxxxxxxx>
Date: Thu, 17 Aug 2006 17:18:53 -0500 (CDT)

On Fri, 18 Aug 2006, Saverio Iacovelli wrote:

> > bmake print-PLIST | tee PLIST.new
> 
> What is difference between "|" and "tee" commands

The vertical bar also called the pipe is a special shell character which 
basically means the standard output of the previous command becomes the 
standard input of the next command.

The tee(1) utility reads the standard input and outputs to a file (named 
on the command line) and also again to standard output.

tee(1) is very useful.

I use it so I can see what I am doing while saving the results at the same 
time.



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]