The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 10-14-2008
tink tink is offline
Registered User
  
 

Join Date: Jun 2008
Posts: 4
bloody marvelous joeyg - thanks!


This also worked for me in the end:
sed 's/"$/"|/g' file1 > file2

because the double quote was valid for the last column... so replace double quote and line end with double quote and pipe...

Thanks again