Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tlug] pattern matching




I know this is a simple question, but I've often needed to do it and
never come up with a simple way.

I want to grep for a pattern but I don't want to see the whole line,
just the bit that matches. Sometimes I pipe to cut but in this case I
don't know where the pattern will be. Surely this is straight forward?


Thanks,
Brett




-- 
Brett Robson 
Systems Administrator
GOL 
http://www.gol.com
Phone: 03-3239-6856    International: +81-3-3239-6856


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links