My question is simple:
$ echo "Hello!" sh: !": event not found
What is !in this case? Then I tried echo "Match\!", but it is allowed before Match\!. How do I write an expression?
!
echo "Match\!"
Match\!
You can use single quotes:
echo 'Hello!' Hello!
Otherwise, the double-quoted shell tries to deploy !to an event from the story.
You can disable the story extension with set +Hand enable it again withset -H
set +H
set -H