The following fails and I don\'t understand why:
$ echo \"#!\"
the following also fails with the same error message:
$ echo
Another workaround may be to put an extra space after the "!" :
# echo "#! " #!