[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
>
>
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
> 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
[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