The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 06-15-2006
prajith78 prajith78 is offline
Registered User
  
 

Join Date: Jun 2006
Location: Bangalore, India
Posts: 8
notice that 2 slashes before 'n'

its
Code:
sed s/,/\\n/g file1

NOT
Code:
sed s/,/\n/g file1