bug-bash
[Top][All Lists]
Advanced

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

Re: inconsistent field splitting


From: Eric Blake
Subject: Re: inconsistent field splitting
Date: Fri, 20 Aug 2010 07:16:15 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.7) Gecko/20100720 Fedora/3.1.1-1.fc13 Lightning/1.0b2pre Mnenhy/0.8.3 Thunderbird/3.1.1

On 08/20/2010 07:12 AM, address@hidden wrote:
>> There is a big difference between
>>
>> $ a=";"
>>
>> and
>>
>> $ a=;
>>
>> Andreas.
>>
>>
> 
> And for the VERY ignorant what is the difference

a=';' assigns the value ";" to $a.  a=; assigns the empty string to a,
because the ; is the metacharacter that ends the current command.

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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