Hi,
I have a problem with a file containing "£". The file itself is created under oracle/Tru64 and transfered (ftp) to redhat linux. all this works fine, however when its pushed through a tomcat process it translates the "£" as "?". I've found a workaround and thats to vi and write quit the file. If I cp,cat,mv,sed the file it makes no difference.
What i'd like to find out is how to edit (vi) a file from within a script and <esc>:wq! it, and also if anybody knows why this is happening, it would solve my headache!
Thanks in advance
I have a problem with a file containing "£". The file itself is created under oracle/Tru64 and transfered (ftp) to redhat linux. all this works fine, however when its pushed through a tomcat process it translates the "£" as "?". I've found a workaround and thats to vi and write quit the file. If I cp,cat,mv,sed the file it makes no difference.
What i'd like to find out is how to edit (vi) a file from within a script and <esc>:wq! it, and also if anybody knows why this is happening, it would solve my headache!
Thanks in advance