Hello there,
I need to remove carriage return characters (\n and \r) from any input file specified. This is what I am doing right now:
- dumping the file to octal format using the command 'od -c file_name
- removing and \s and \n characters using sed commands
What I need to do now is convert the file_name from octal format back to a normal format. By normal I mean without octal numbers everywhere.
Please advise on how to undo a conversion done by using the 'od' command.
OR - if you have a better way of removing carriage return characters then please let me know.
Regards,