Re: How to remove escape sequences from a existing file
--- diego <email@example.com> wrote:
> How can I automatically remove ANY escape sequence to convert it into a
> real plain text?
cp ./the_file ./the_file.bckup
col -b < ./the_file > ./the_file.old && mv ./the_file.old ./the_file
-- Thomas Adam
"The Linux Weekend Mechanic" -- http://linuxgazette.net
"TAG Editor" -- http://linuxgazette.net
"<shrug> We'll just save up your sins, Thomas, and punish
you for all of them at once when you get better. The
experience will probably kill you. :)"
-- Benjamin A. Okopnik (Linux Gazette Technical Editor)
___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com