Why no closing single quote is needed when a single quote is escaped?
From:
Peng Yu
Subject:
Why no closing single quote is needed when a single quote is escaped?
Date:
Wed, 30 Dec 2020 22:26:24 -0600
Hi,
x='\'
The above command works. But the following command doesn't. It doesn't
make sense to me why the above command should work without closing the
initial single quote. Could anybody help explain why this syntax
should be correct? Thanks.
x="\"
--
Regards,
Peng