Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15504

Re: Command grouping

From Mischa Baars <mjbaars1977.bug-bash@cyberfiber.eu>
Newsgroups gnu.bash.bug
Subject Re: Command grouping
Date 2019-10-13 10:09 +0200
Message-ID <mailman.469.1570954276.9715.bug-bash@gnu.org> (permalink)
References <acdb21fe37e928c2063c95ec1d013fe695e3bdf1.camel@cyberfiber.eu> <06070f12-033d-0736-1733-a035629104cd@case.edu> <735ae0ed6542416188552545d16a02936070e493.camel@cyberfiber.eu>

Show all headers | View raw


On Sat, 2019-10-12 at 10:42 -0400, Chet Ramey wrote:
> 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.
> 

Hi Chet,

The bash manual page tells us that is the default value, nothing special.

I was trying to remove the whitespace, such that whitespaces are allowed in project directory names, as was considered the default scenario as far as I know.

Mischa.

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: Command grouping Mischa Baars <mjbaars1977.bug-bash@cyberfiber.eu> - 2019-10-13 10:09 +0200

csiph-web