[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to echo the output of a shell command and preserve the newlines
From: |
Paul Smith |
Subject: |
Re: How to echo the output of a shell command and preserve the newlines |
Date: |
Tue, 25 Aug 2015 14:39:29 -0400 |
On Tue, 2015-08-25 at 18:35 +0000, Cook, Malcolm wrote:
> Keep in mind when the recipe is multiple lines and you are using
> parallelism (-j) then each line may be executed in different shells
It doesn't matter whether or not you use parallelism, every (logical)
line _WILL DEFINITELY_ be executed in a different shell, unless you
use .ONESHELL.
> potentially out of order
This is not true. The second line of a recipe will never be executed
before the first line is completed, regardless of how much or little
parallelism you use or whether or not you specify .ONESHELL.