Link to home
Start Free TrialLog in
Avatar of nlrreddy
nlrreddy

asked on

grep for regular expression in Solaris

Hello,

I want to regursively grep for a regular expression in SunOS 5.8 but couldn't do that. There is no equivalent option as --perl-regexp in Solaris 5.8

can anyone help me on that

Thanks,
Avatar of DalHorinek
DalHorinek
Flag of Czechia image

What about using this?

http://www.pcre.org/
Avatar of ozo
does egrep work?  what is the expression?
can you use a perl command instead?
can you elaborate on what you want to do? can you give example?
Avatar of nlrreddy
nlrreddy

ASKER

below is the regular expression that I want to grep in all files recursively

abc[a-zA-Z0-9]{10}_[a-zA-Z0-9]{4}

with the above regular expression, can I find files with the above tag?
ASKER CERTIFIED SOLUTION
Avatar of ozo
ozo
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Although the solution is not complete it helped me get ideas on this