Andreas Schwab wrote: > Lawrence D'Oliveiro writes: > >> And even with the specialness of bang turned off, it still doesn't work >> right: >> >> [EMAIL PROTECTED]:~> set +H >> [EMAIL PROTECTED]:~> echo "hi there!" >> hi there! >> [EMAIL PROTECTED]:~> echo "hi there\!" >> hi there\! >> [EMAIL PROTECTED]:~> echo hi there! >> hi there! >> [EMAIL PROTECTED]:~> echo hi there\! >> hi there! > > In which way is that wrong?
Maybe not: [EMAIL PROTECTED]:~> set +H [EMAIL PROTECTED]:~> echo "y" y [EMAIL PROTECTED]:~> echo "\y" \y [EMAIL PROTECTED]:~> echo y y [EMAIL PROTECTED]:~> echo \y y That still leaves the issue of the discrepancy between the way bash actually behaves, and the way it's documented to behave.