gnu.bash.bug
[Top] [All Lists]

Re: Cannot set variable declared outside of nested while loop

Subject: Re: Cannot set variable declared outside of nested while loop
From: Chet Ramey
Date: Tue, 17 Jan 2006 09:16:37 -0500
Newsgroups: gnu.bash.bug
Rick Wargo wrote:

> Machine Type: i386-redhat-linux-gnu
> 
> Bash Version: 3.0
> Patch Level: 16
> Release Status: release
> 
>  
> 
> Description:
> 
>        Cannot set variable declared outside of nested while loop within
> a function. This works in ksh. :(

Read the Bash FAQ, question E4.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
                                                Live Strong.
Chet Ramey, ITS, CWRU    chet@xxxxxxxx    http://tiswww.tis.case.edu/~chet/



<Prev in Thread] Current Thread [Next in Thread>