Re: Characters aren't being properly escaped/evaluated in a Bash

2007-05-10 Thread Paul Jarc
[EMAIL PROTECTED] wrote: > The problem is that if I did this out of the box > like the following, it 'flattens' the list: > > Example: > for j in `cat $i`; do > echo $j > done > >

RE: Characters aren't being properly escaped/evaluated in a Bash

2007-05-10 Thread Cooper, Garrett W
bject: Re: Characters aren't being properly escaped/evaluated in a Bash [EMAIL PROTECTED] writes: > Fix: > The problem lies in the parser somewhere, The problem is that you are not correctly quoting. Better use $(...) instead of `...`, that is easier for beginners to get

Re: Characters aren't being properly escaped/evaluated in a Bash

2007-05-10 Thread Chet Ramey
> Bash Version: 3.0 > Patch Level: 0 > Release Status: release > > Description: > > Summary: > Characters aren't being properly escaped/evaluated in a Bash > > Full Description: > > I'm trying to take a series of lines in a file like so (ignore > 1.-3. c

Re: Characters aren't being properly escaped/evaluated in a Bash

2007-05-10 Thread Andreas Schwab
[EMAIL PROTECTED] writes: > Fix: > The problem lies in the parser somewhere, The problem is that you are not correctly quoting. Better use $(...) instead of `...`, that is easier for beginners to get right. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products Gmb