Author: Stan Eisenstat
Subject: Re: [Cs323] None
Date: Saturday, 21 Nov 2020, 08:04:39
> Message Posted By: Unknown
>
> If we have "echo no | cat | wc &", do all three stages get backgrounded or
> just the wc? It looks like only wc gets backgrounded from the staff
> solution, but based on the grammar given, that doesn't make sense to me.
As you can see from
% /c/cs323/Hwk5/bashLT
(1)$ true | false &
Backgrounded: 391534
(2)$ false | true &
Backgrounded: 391544
Completed: 391534 (1)
(3)$ true
Completed: 391544 (1)
your conjecture as to which stages are backgrounded is
incorrect. The entire pipeline is backgrounded.
--Stan-
PREV
INDEX
NEXT