cc: [email protected]
Subject: Re: Re: [ast-users] Regression in ksh93v-: echo does no longer accept  
escape sequences
--------

> In this context I would like to understand, why ksh complains about 
> unbalanced a
> postrophes in the following assignment:
> cp003421> aux='ab\'c d\'ef'
> 

\ is not special inside '...' si that this the second ' terminates the
quoted string and the second \ which is in fron of ' quotes it so
that it is not seen as a quote.
        aux=$'ab\'c d\'ef'
is equivalent to "ab\'c d\'ef" in C.


David Korn
[email protected]
_______________________________________________
ast-users mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-users

Reply via email to