help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]