Re: Bash script piping question
- From: Dan Ganek <degspam@xxxxxxxxxxx>
- Date: Sun, 18 Dec 2005 20:31:46 -0500
noi wrote:
I'd like to pass output from a command to stdout and a pipe.
Like in $ cat test.file | if grep word ; then do; but I'd like to see all of the output from the cat command as well as
pass that output to the grep test.
Anyone know how to do that?
TIA
man tee
.
- Follow-Ups:
- Re: Bash script piping question
- From: noi
- Re: Bash script piping question
- From: noi
- Re: Bash script piping question
- References:
- Bash script piping question
- From: noi
- Bash script piping question
- Prev by Date: Bash script piping question
- Next by Date: Using BinPost & Java
- Previous by thread: Bash script piping question
- Next by thread: Re: Bash script piping question
- Index(es):