Author: Unknown
Subject: seg_bg answer
Date: Thursday, 03 Dec 2020, 23:57:55
The following is never possible, because A (a simple) could not have a child. There needs to be a "connector) - &&, || , &, ...
&
/ \
A B
/ \
C D
/ \
E F
But (understanding your point), lets say you had
&
/ \
PIPE C
/ \
A B
Then the entire PIPE gets backgrounded. Another example: In the case of:
&
/ \
; C
/ \
A B
Then only B gets backgrounded. This is also true if B itself is a pipeline, a subcmd, or anything else. I.E.
&
/ \
; D
/ \
A PIPE
/\
B C
In the above, the entire PIPE gets backgrounded.
PREV
INDEX
NEXT