1 /XXX/baz's boz
EOF
+cat > $expectederr <<EOF
+whatnow: whatnow is deprecated. Consider switching to whatnow2.
+whatnow: whatnow is deprecated. Consider switching to whatnow2.
+whatnow: whatnow is deprecated. Consider switching to whatnow2.
+whatnow: whatnow is deprecated. Consider switching to whatnow2.
+EOF
+
# whatnow's exit status is always 1 so that is not a failure
set +e
echo "attach baz\\'s\\ boz" | whatnow -editor true -prompt '' 2>> $actualerr >> $actual