When displaying a string with `\0xx`, the part of the string is converted to a different character.
Issue
-
When displaying a string with
\0xx
, the part of the string is converted to a different character.$ cat dir.lst \\SYS\041\P0050201 $ set TMPDIR=`cat dir.lst` $ echo $TMPDIR \SYS!\P0050201
Environment
- Red Hat Enterprise Linux 5, 6, 7 and 8
- tcsh
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.