I want to display the value of the
$IFS variable, which could contain unprintable characters (for example: newline).
I used the following command to do so:
echo -n "$IFS" | hexdump -C
Which worked great in my case.
But is there anything wrong in using this command? For example, does
echo replaces some unprintable characters with some other characters before printing them to its
stdout, or some other problem like that?