Bash Echoing Strange Variables

Echoing Strange Variables

#!/bin/bash
# vars.sh: Echoing Strange Variables

var="'(]\\{}\$\""
echo $var          # '(]\{}$"
echo "$var"        # '(]\{}$"   No difference

echo
IFS='\'
echo $var          # '(] {}$"   \ converted to space
echo "$var"        # '(]\{}$"

exit 0;