View Single Post
  #1  
Old 01-19-2010, 10:40 AM
Stream Recorder
 
Posts: n/a
Default

Problem with bash: event not found (when exclamation (!) between quotes (") is used)


I got the following error when trying to launch a command which parameters had an exclamation mark (!) surrounded quotes ("):
Code:
event not found
In Bash, a single quote (') is referred to as a strong quote, and a double quote (") is referred to as a weak quote. Special characters aren't interpreted in a strong quote. That is why I got the error.

When I replaced double quotes (") with single quotes (') I was able to execute the command successfully.
Reply With Quote