[GLLUG] grep help

dpk dpk at egr.msu.edu
Wed May 11 15:02:15 EDT 2005


Mike Szumlinski wrote:
> Okay, I'm trying to parse a large amount of report files for some people 
> here at work and I'm pretty sure grep is the tool I need.  The one thing 
> I don't know how to do is throw away some of the information I'm getting.
> 
> Right now, my expression is as follows:
> 
> ---
> 
> myhost:~/Desktop] szumlins% grep "Current\ Machine\|Total\ Files\|bytes" 
> sometextfile.txt

[snip]

[yur cmd...] | tail -3

dpk


More information about the linux-user mailing list