nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] folder -nocreate +/this/does/not/exist


From: Ralph Corderoy
Subject: Re: [Nmh-workers] folder -nocreate +/this/does/not/exist
Date: Mon, 29 Aug 2016 17:43:19 +0100

Hi Norm,

> That is, a whole pipeline will be run, even if a non-rightmost command
> exits with an error return status.

Too true.  To avoid that would seem to need a saving of the output of
one command, testing its exit status before regurgitating into the next
one.

    foo | bar | xyzzy
    foo >a && <a bar >b && <b xyzzy

It's tempting to have a {nohup,time,...}-style command that takes two
commands as parameters and hides the buffering, but the syntax seems
problematic.

    delay foo -- delay bar -- xyzzy

-- 
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy



reply via email to

[Prev in Thread] Current Thread [Next in Thread]