Problem with url2pkg

Jeremy C. Reed reed at reedmedia.net
Thu Aug 17 15:22:33 PDT 2006


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.





More information about the Users mailing list