bug-bash
[Top][All Lists]
Advanced

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

Re: Bash forgets array values outside of a while loop


From: Chet Ramey
Subject: Re: Bash forgets array values outside of a while loop
Date: Tue, 20 Nov 2001 08:51:15 -0500

> Machine Type: i586-mandrake-linux-gnu
> 
> Bash Version: 2.05
> Patch Level: 1
> Release Status: release
> 
> Description:
>       Use a while loop to fill an array, and after the while loop,
>       bash forgets the values.  I don't think this is how it should
>       work.

Read the Bash FAQ, question E4.  This is related.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)

Chet Ramey, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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