HOME=/usr/xyz
set -v
echo ~chet
echo ~ch\et
echo ~chet/"foo"
echo "~chet"/"foo"
echo \~chet/"foo"
echo \~chet/bar
echo ~\chet/bar
echo ~chet""/bar
echo ":~chet/"
echo abcd~chet
echo "SHELL=~/bash"
echo SHELL=~/bash
echo abcd:~chet
echo PATH=/usr/ucb:/bin:~/bin:~/tmp/bin:/usr/bin
