|
From: | Jirka Kosina |
Subject: | commands between { } |
Date: | Fri, 3 May 2002 17:48:17 +0200 |
Hello, When I run for example this: P=0 ; { P=1; echo $P; } | { cat -; echo $P; } I get 1 0 Though I would accept 1 1 as commands between { } are executed in the same shell, which made P=0. What have I overlooked? Or is this a bug? Thanks a lot in advance -- JiKos.
[Prev in Thread] | Current Thread | [Next in Thread] |