bug-bash
[Top][All Lists]
Advanced

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

Set of characters that are treated specially between a pair of double qu


From: Peng Yu
Subject: Set of characters that are treated specially between a pair of double quotes?
Date: Sun, 11 Jul 2010 15:12:57 -0500

For the character $ is treated specially between a pair of double quotes.

echo "$PATH"

If I really want to print $, I need to say

echo "\$PATH"

Could anybody let me know the complete set of characters that need to
be escaped (prepend with backslash) between a pair of double quotes if
I really want to print the character?

-- 
Regards,
Peng



reply via email to

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