What's the best way to printf an exclamation point in tcsh?
It seems like using single or double quotes has no effect on escaping the exclamation point; and using a backspace does work, but then it disappears from the history.
$ printf 'a\!c\n' a!c
$ printf '%s\n' a\!c
tcsh uses the ! character for history substitution
g4ur4v:~> echo $0 tcsh g4ur4v:~> printf '!\n' !
g4ur4v:~> echo 'a\!c' a!c g4ur4v:~> printf 'a\!c\n' a!c