bug-bash
[Top][All Lists]
Advanced

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

Re: Command grouping


From: Chet Ramey
Subject: Re: Command grouping
Date: Sat, 12 Oct 2019 10:42:25 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

On 10/12/19 9:02 AM, Mischa Baars wrote:
> Hi,
> 
> Perhaps to better have a look at this mail, than the previous mail.
> 
> In trying to group commands, in this case compiler commands, I found some 
> peculiarities while trying different combinations of the 'Internal Field 
> Separator'
> and the 'Parameter Expansion' operator ${parameter@P}.

I haven't looked at this in any depth, but you should realize that running

declare IFS=$(printf ' \t\n')

will result in IFS being set to space and tab, since command substitution
removes the trailing newline. Maybe that will make a difference.


-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/



reply via email to

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