[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Empty sub-string expansion bug
From: |
Chet Ramey |
Subject: |
Re: Empty sub-string expansion bug |
Date: |
Tue, 24 Oct 2006 12:08:18 -0400 |
User-agent: |
Thunderbird 1.5.0.7 (Macintosh/20060909) |
David Purdy wrote:
> Bash Version: 3.1
> Patch Level: 17
> Release Status: release
>
> Description:
> Substring operations that are meant to return an empty string ""
> sometimes return character "\177" instead.
>
[...]
> Fix:
> Bash script work-around: Use an intermediate variable until the bug is
> fixed.
This was previously reported and is fixed in bash-3.2.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
Live Strong. No day but today.
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/