bug-bash
[Top][All Lists]
Advanced

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

Re: Positional parameter & array slicing bug with empty arguments


From: Chet Ramey
Subject: Re: Positional parameter & array slicing bug with empty arguments
Date: Mon, 13 Jan 2014 07:44:49 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.1.1

On 1/13/14 5:31 AM, Theodoros V. Kalamatianos wrote:

>> Bash uses DEL as an internal marker character during word expansion, so
>> problems involving DEL are a higher priority than you might think.
> 
> Does that mean that DEL should not be entered in variables and such, or is
> that something that just affects the internals of Bash?

Bash's internal use of DEL is supposed to be transparent, so anything that
causes DELs to `leak through' is a concern.  Scripts using DEL just
uncovers those problems more quickly.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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