From: shlomo solomon (solomon_at_nonexisting.hamakor.org.il)
Date: Thu 13 Mar 2003 - 23:11:13 IST
Hi,
I spent a couple of hours looking for this, but I bet one of the bash gurus
can help me here ;-).
I have a script that puts a lot of output on the screen. I want to look for a
particular string in the output, so I pipe the output to GREP. That works
fine, but here's the problem. I also want to see the output on the terminal,
and the pipe to GREP means I only get to see the line that matches the string
I'm looking for - not **ALL** the screen output. Is there a way to see output
on the screen AND pipe it to GREP at the same time?
BTW - I have a partial solution and that's to pipe to a file and then do 2
separate operations - cat the file to the screen and GREP the file to find
what I'm looking for. The problem is that I then see the output only after
the script has finished running - not **online**.
Any ideas? - TIA
-- Shlomo Solomon http://come.to/shlomo.solomon Sent by KMail (KDE 3.0.5a) on LINUX Mandrake 9.0 ================================To unsubscribe, send mail to linux-il-request_at_linux.org.il with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail linux-il-request_at_linux.org.il
This archive was generated by hypermail 2.1.7 : Mon 06 Oct 2003 - 23:44:24 IST