The UNIX and Linux Forums  

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



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 02-01-2008
metalwarrior metalwarrior is offline
Registered User
 

Join Date: Feb 2008
Posts: 16
ok let's say I have this line for example:
thispatternthatpattern
I want the sed automatically find the the repeated patterns and put them in (). so after the chagne it would look like this,
this(pattern)that(pattern).
Reply With Quote