When reading a Windows log file in a Linux terminal, I see a strange symbol “001E”
How can I replace it by space? Maybe something like
sed -e 's/010e/ /'
migrated from stackoverflow.com Oct 7 '12 at 11:09
This question came from our site for professional and enthusiast programmers.
Using this answer as a reference:
I am not sure what is your character though... The screenshot suggests it is 0x001e but you have mentioned 0x010e. Whichever it is, you can just change the script above as needed.
If you see these four hexadecimal digits in a box, it means your terminal's font does not cover that character. The hexadecimal notation tells you which character it is: U+001E, which is in the control character range — 1E is
If you want to replace it with a space, you can use