Can someone please explain what's wrong with the command i use below?
tr -c '\11\12\40-\176' ' '< $TEMP_FILE > $TEMP_FILE2
The invalid character/s is replaced with two spaces, the string2 only have 1 space in it. Please help.
Sample output:
333243,333244c333243,333244
< <prof-address-1>H�TTENSTRASSE 17</prof-address-1>
< <prof-city>D�SSELDORF</prof-city>
---
> <prof-address-1>H TTENSTRASSE 17</prof-address-1>
> <prof-city>D SSELDORF</prof-city>
:wall: