Does anyone know how to convert Hex(00) to display Null in wordpad using Unix Shell Scripting.
I have an output file which is a text file and through unix I need to convert a hex value 00 to display like a box (null) in Word pad on a particular line.
Currently by using the following code I am not getting anything in my output file:
hexchar="00" octchar=$(echo "ibase=16;obase=8;$hexchar"|bc) hex1=$(echo "\0$octchar")
Please help!!!