[Pkg-zsh-devel] Bug#1022758: Bug#1022758: Bug#1022758: zsh doesn't recognise double quotes with an exclamation mark
    Axel Beckert 
    abe at debian.org
       
    Tue Oct 25 11:42:10 BST 2022
    
    
  
Hi,
Michael Prokop wrote:
> close 1022758
Thanks for the swift reaction, Mika! :-)
> "!" has a special meaning in zsh, so this behaves as expected and
> documented. You need to use single quotes or drop "!" from
> $histchars, if you want to disable this behavior.
Please also note that other shells have this feature, too, even GNU
Bash.
But Bash is less picky and accepts the erroneous
  echo "Hello!"
command. It though still would expand e.g. a followup
  echo "Hello!e"
to
  echo "Helloecho "Hello!""
		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
    
    
More information about the Pkg-zsh-devel
mailing list