[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: search on a DN typed attribute



Pierangelo Masarati wrote:
> Note that if you use
> 
> "attr=value\,attr=value"
> 
> it is likely the shell is eating your escapes; you'd rather use
> 
> 'attr=value\,attr=value'

Sorry, partial bulls..t :) the escape behaves as a metachar only
[bash(1)]

       Enclosing characters in double quotes preserves  the  lit­
       eral  value  of all characters within the quotes, with the
       exception of $, `, and \.  The characters $ and  `  retain
       their special meaning within double quotes.  The backslash
       retains its special meaning only when followed by  one  of
       the  following  characters:  $,  `, ", \, or <newline>.  A
       double quote may be quoted within double quotes by preced­
       ing it with a backslash.

Pierangelo. 

-- 
Dr. Pierangelo Masarati               | voice: +39 02 2399 8309
Dip. Ing. Aerospaziale                | fax:   +39 02 2399 8334
Politecnico di Milano                 | mailto:masarati@aero.polimi.it
via La Masa 34, 20156 Milano, Italy   |
http://www.aero.polimi.it/~masarati