Regexs are not my strong point! I am trying to get a list of service scripts that provide virtual services. Each such script contains a line like:
provide dns
i.e. the line starts with one or more spaces, followed by the text "provide",
followed by one or more spaces and a single word. i have come up with:
grep -e ^\s+provide\s+\w /etc/init.d
but, as usual, nothing is matched. What am I doing wrong?
TIA
-Robin
--
[email protected] mailing list

