On 04/20/2011 01:45 PM, Jonathan Nieder wrote:
{ and } are in POSIX. See XCU 2.9.4.1 Grouping Commands at
http://unix.org/2008edition/:
so posh (and other shells) needs to be updated then.
--
Address:Daniel Baumann, Donnerbuehlweg 3, CH-3012 Bern
Email:
Daniel Baumann wrote:
On 04/20/2011 01:45 PM, Jonathan Nieder wrote:
{ and } are in POSIX. See XCU 2.9.4.1 Grouping Commands at
http://unix.org/2008edition/:
so posh (and other shells) needs to be updated then.
Hmm...
| $ posh -c '{ echo hi;}'
| hi
| $ echo $?
| 0
| $ dpkg-query -W posh
|
retitle 623356 be more careful with subshells
thanks
On 04/19/2011 04:38 PM, liandrosg wrote:
In bash, and dash, the Grouping Commands builtin structure commands are
(list) or {list;}
The first of these executes the commands in a subshell. The second form
does not fork another shell so is
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
Package: live-build
Version: 3.0~a11-1
Severity: normal
In bash, and dash, the Grouping Commands builtin structure commands are
(list) or {list;}
The first of these executes the commands in a subshell. The second form
does not fork another shell so is slightly more efficient.
Simple
5 matches
Mail list logo