Clovertech
› Clovertech Forums › Read Only Archives › Cloverleaf › Operating Systems › AIX/Unix convert characters
I have an interface file that appears to be sending a character outside the range of acceptable Unix characters. They are sending a hex A6, “
Try string map in Tcl
I found a couple of working scripts on my AIX box that used tr command.
What I noticed is that tr appears to use octal numbers instead of hex or deciamal.
Since hex A6 is octal 246, I got this to work using tr for my test.
cat myFile | tr ‘246’ “|”
Russ Ross RussRoss318@gmail.com
Russ, you’re a lifesaver. I wasn’t using the octal value when I used tr. That works.