Re: Questions to bash "read" builtin functionality (and supposed problem with while).

2013-01-18 Thread Linus Swälas
On Fri, Jan 18, 2013 at 1:48 PM, Pierre Gaston wrote: > On Fri, Jan 18, 2013 at 2:44 PM, Linus Swälas wrote: >> On Fri, Jan 18, 2013 at 12:56 PM, Pierre Gaston >> wrote: >>> On Fri, Jan 18, 2013 at 1:38 PM, Linus Swälas >>> wrote: On Fri, Jan 18, 2013 at 6:57 AM, Pierre Gaston wro

Re: Questions to bash "read" builtin functionality (and supposed problem with while).

2013-01-18 Thread Pierre Gaston
On Fri, Jan 18, 2013 at 1:38 PM, Linus Swälas wrote: > On Fri, Jan 18, 2013 at 6:57 AM, Pierre Gaston > wrote: >> >> On Thu, Jan 17, 2013 at 4:24 PM, Linus Swälas >> wrote: >>> >>> I have a similar problem to report as Fiedler Roman regarding read and >>> also >>> another problem regarding whil

Re: Questions to bash "read" builtin functionality (and supposed problem with while).

2013-01-18 Thread Linus Swälas
On Fri, Jan 18, 2013 at 6:57 AM, Pierre Gaston wrote: > > On Thu, Jan 17, 2013 at 4:24 PM, Linus Swälas > wrote: >> >> I have a similar problem to report as Fiedler Roman regarding read and >> also >> another problem regarding while. Maybe the while case is intended behavior >> though. =) >> # w

Re: Questions to bash "read" builtin functionality (and supposed problem with while).

2013-01-17 Thread Pierre Gaston
On Thu, Jan 17, 2013 at 4:24 PM, Linus Swälas wrote: > I have a similar problem to report as Fiedler Roman regarding read and also > another problem regarding while. Maybe the while case is intended behavior > though. =) > # It the below also a bug? > # while can't handle nulls, this doesn't work:

Re: Questions to bash "read" builtin functionality (and supposed problem with while).

2013-01-17 Thread Linus Swälas
I have a similar problem to report as Fiedler Roman regarding read and also another problem regarding while. Maybe the while case is intended behavior though. =) See comments in the script below. bash --version GNU bash, version 4.2.39(1)-release (x86_64-redhat-linux-gnu) Example script starts