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 01-06-2009
mierdatuti mierdatuti is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 20
Quote:
Originally Posted by mitthan View Post
Please use this command
sed -e "s/\º//g" -e "s/\ª//g" tt1.txt> tt2.txt

I have tested it with this input
tt1.txt input file contains
helªlo º helªlo2º
helªlo3º

output file tt2.txt comtains
hello hello2
hello3
Sorry doesn't work me In te text, the caracter ª if I do a vi it show me well, but when I do a sed from this text shows me a extrange caracter in substitusion to ª, it shows me a interrogation mark like inside of a sqare if I try to paste the line where the character is (ctrl+c, ctrl+v) but it shows: on - 8� Any help?