Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

egrep help please

Status
Not open for further replies.

JamesJ2002

Programmer
Feb 16, 2002
1
GB
Hello, I need to search a file for strings containing nested round brackets (( i.e at least 1 set inside another set, and there must be 2 opening brackets earlier in the string than the 2 closing brackets. the rest of the string can contain anything, including more brackets, can anyone help?
Thanks in advance

James
 
I'm not 100 % certain of what you want but grep will work: -

grep "((" your_file_name

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top