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

Re: bash, grep, and regular expressions



egrep, my son, the future is in egrep

You'll be able to match on word boundaries with "\b"

Of course, what I found actually works was

ls -al | egrep "\B\."

hth,
Josh

P.S. bash 2.05b.0(1)-release

-- 
xplanet -body earth -transpng a.png -geometry "300x300-0+0" -origin sun
My politics : http://satp.blogspot.com
Programmer

Attachment: signature.asc
Description: Digital signature


Reply to: