I am trying to capture a string in mac terminal zsh
when i try
echo "abc1234!"
It would prompt for dquote>
I have tried adding a additional quote like this
echo "abc1234!""
Output
abc1234
how do i capture ! character in the string ??
I have tried adding a additional quote like" /> I have tried adding a additional quote like" /> I have tried adding a additional quote like"/>
I am trying to capture a string in mac terminal zsh
when i try
echo "abc1234!"
It would prompt for dquote>
I have tried adding a additional quote like this
echo "abc1234!""
Output
abc1234
how do i capture ! character in the string ??
Copyright © 2021 Jogjafile Inc.
Either turn off history expansion with
, or escape the
!character: