bug-bash
[Top][All Lists]
Advanced

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

Re: Set of characters that are treated specially between a pair of doubl


From: Stephane CHAZELAS
Subject: Re: Set of characters that are treated specially between a pair of double quotes?
Date: Wed, 08 Dec 2010 15:49:30 -0000
User-agent: slrn/pre1.0.0-16 (Linux)

2010-07-11, 15:12(-05), Peng Yu:
[...]
> 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?

" (ASCII 0x22, double-quote), \ (ASCII 0x5C, backslash)
(different meaning before newline and the other characters), $
(ASCII 0x24, dollar) and ` (ASCII 0x60, backquote aka backtick
aka grave accent).

Also beware of the nesting of `...` and "..." where the \
processing gets more complicated.

-- 
Stephane


reply via email to

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