I have a unicode character {Unicode: 0x1C} in my file and I need to replace it with a blank. How would a sed command look like?
cat file1 | sed "s/(//g;" > file2
Is X28 the right value for this Unicode character??
I have a unicode character {Unicode: 0x1C} in my file and I need to replace it with a blank. How would a sed command look like?
cat file1 | sed "s/(//g;" > file2
Is X28 the right value for this Unicode character??
Try using the 'tr' command - replacing Ctl-A to 'X':
tr '\001' 'X' < inp_file
Did you mean this?
tr '\001' ^A < temp1.xml > temp3.xml
The code:
tr '\001' 'X' < inp_file
will replace Ctl-A (Octal 001) by the character 'X' in the 'inp_file'.
Is there a way to replace all characters more than ASCII 128 to a space??