[ale] Shell: why?

Zyman, Andy zymana at hra.nyc.gov
Thu Feb 21 12:49:22 EST 2002


Please disregard this question.
the behavior is different in different grep.

> -----Original Message-----
> From: Zyman, Andy [mailto:zymana at hra.nyc.gov]
> Sent: Thursday, February 21, 2002 12:41 PM
> To: 'ale at ale.org'
> Subject: [ale] Shell: why?
> 
> 
> Hello,
> 
> why i have to use :
> 
> 	tail -f ./*.log | while read LINE ; do 
> 		if ` echo $LINE | cut -f1 -d' ' ` = 'ORA-' ....
> 
> but can't use :
> 
> 	tail -f ./*.log | grep ORA- 
> 
> "I feel stupid .... " :(
> 
> I thought that tail would read *.log file and send in to the standard
> output, then grep will "catch" it and perform search. but it 
> doesn't work as
> expected.
>  Please advise. 
> 
> Thank You
>  Andy
> 


InterScan VirusWall processing complete - message virus-free.



---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.




More information about the Ale mailing list