The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
need assistance: sed and repeating patterns metalwarrior UNIX for Advanced & Expert Users 1 02-02-2008 01:00 AM
Repeating variables in the code mahalakshmi Shell Programming and Scripting 1 02-08-2007 03:33 AM
Repeating commands in a script Dave2874 Shell Programming and Scripting 4 03-14-2005 06:34 AM
Omit repeating lines TheCrunge UNIX for Dummies Questions & Answers 6 02-22-2005 02:26 PM
repeating kernel message progressdll UNIX for Advanced & Expert Users 2 07-29-2002 01:18 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #8 (permalink)  
Old 02-02-2008
Registered User
 

Join Date: Feb 2008
Posts: 16
Stumble this Post!
ok I finally figured it out after 3hour of struggling.

sed 's/\(.*\{3,\}\)\(.*\)\(\1\)/(\1)\2(\3)/g' filename
Reply With Quote
Google The UNIX and Linux Forums
Forum Sponsor
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 03:32 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0