D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] grep searches

 

On 05/08/12 18:29, Gordon Henderson wrote:
> 
> however, from the 'more than one way to do it' department:
> 
>   history | fgrep 'dd\b'

Doesn't work here - misses my cryptic "a dd a" line in my history, but:

history | grep '\bdd\b'

does, or was that one for Paul to generalize. I clearly don't grok what
fgrep does differently to grep, but then it is deprecated ;)

Yes Paul I definitely learnt some useful stuff from your question!

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq