Environment variable problem

Eric Blake eblake@redhat.com
Mon May 24 17:54:00 GMT 2010


On 05/24/2010 04:00 AM, Andrey Repin wrote:
> Greetings, Willie Vu!
> 
> 
>> You are right! d2u fixes the problem.  Thanks! :clap:
> 
>>From my understanding of it, this shouldn't be a problem, as all whitespace
> characters should be stripped from value, unless explicitly quoted.

Nope.  Only whitespace characters in $IFS (which defaults to
space-tab-newline, but NOT carriage return) are stripped.  You have to
specifically request that CR be stripped, or not use CR.

-- 
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20100524/064fccdf/attachment.sig>


More information about the Cygwin mailing list