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

Bug#623356: live-build: be more careful with subshells



Hi,

Daniel Baumann wrote:

> {} as grouping is not posix compatible, therefore it should not be used
> in live-build. do you know a posix-compliant way of fixing it?

{ and } are in POSIX.  See XCU 2.9.4.1 "Grouping Commands" at
<http://unix.org/2008edition/>:

 { compound-list;}

	Execute compound-list in the current process environment. The
	semicolon shown here is an example of a control operator
	delimiting the } reserved word.  Other delimiters are
	possible, as shown in Section 2.10 (on page 2325); a <newline>
	is frequently used.

Hope that helps,
Jonathan



Reply to: