On Saturday 24 May 2008, Alan McKinnon wrote: > "grep -e" is not the same thing as "egrep" or "grep -E", and > I never managed to get \s to work as a synonym for [[:space:]]
I was wondering about that! > Plus you need a proper file glob i your file spec That was a typo in my post. > Try: > egrep '^[[:space:]]+provide[[:space:]]+\w' /etc/init.d/* Thanks, I am in business now. Cheers -Robin -- gentoo-user@lists.gentoo.org mailing list