[CentOS] regex help

Joseph L. Casale

JCasale at activenetwerx.com
Tue May 12 22:11:39 UTC 2009


I need a little help, trying to search for a line that begins with /dev
and ends with a single digit that I will choose, like 5. I can search for
^/dev and 5$ but I am having trouble forming the combined search pattern
using egrep.

Any ideas?

Thanks!
jlc



More information about the CentOS mailing list