I'm trying to get a script written to change the carrige return linefeed characters to linefeed characters
I have a file where all lines end with Hex 0D 0A I want them to end with 0A
I tried using sed to do a search and replace - something like this:
sed -e 's/\x0D/whatever/' test.txt > test.new
Search for 0d and replace with "whatever"
I just wanted to get this working first - Anyway - sed runs without error but apparetnly can't find any 0D in my file
even though I know the hex character exists.