[ILUG] [OT puzzle] Grep regex please?

kevin lyda kevin at ie.suberic.net
Tue Jun 27 13:48:09 IST 2006


On Tue, Jun 27, 2006 at 01:28:45PM +0100, Proinnsias Breathnach wrote:
> easy to fix: 
> 	strings index.dat | grep -e '[http|ftp|file]' | less

i would have thought:

    strings index.dat | grep -e '\(http|ftp|file\)' | less

kevin

-- 
Kevin Lyda                US Citizen Abroad?  Had Enough?  Register
kevin at ie.suberic.net      **** to vote: www.VoteFromAbroad.org ****
    <elrond> lyda: True, but Walsh wasn't gifted
                   with your razor wit, obviously.



More information about the ILUG mailing list