[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: |
Cook, Malcolm |
Subject: |
RE: How to echo the output of a shell command and preserve the newlines |
Date: |
Tue, 25 Aug 2015 18:55:50 +0000 |
> 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.
[Cook, Malcolm]
Glad to be corrected.
>
> > 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.
[Cook, Malcolm]
again, thanks for correcting my misconception...