The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




Thread: sed question
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 10-04-2007
NycUnxer NycUnxer is offline
Registered User
  
 

Join Date: Sep 2007
Location: AIX-VILLE
Posts: 88
sed question

Hi, can anyone explain step by step what this line of sed code is trying to do. Thanks.

Sed -e "s/big \(.*\) dog/small \1 cat/" filename

Last edited by NycUnxer; 10-04-2007 at 01:04 PM..