parallel
[Top][All Lists]
Advanced

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

Re: callback on joblog


From: Rob Sargent
Subject: Re: callback on joblog
Date: Fri, 25 Jul 2014 14:16:11 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0

On 07/25/2014 12:35 PM, Ole Tange wrote:
On Fri, Jul 25, 2014 at 5:42 PM, Rob Sargent <robjsargent@gmail.com> wrote:

Thanks, yes that might be an option though much must conveyed in "$1".  I'm
currently trying a java alternative on this same theme, the meat of which
may morph into "analyze output".
You are aware that $1 has a whole family:

  doit() {
     process "$@"
     analyze output "$@"
     if good; then
        return 0
     else
        return 1
     fi
  }
  export -f doit

  parallel --halt 1 doit --option {1} --opt {2} --ion {3} ::: args :::
args2 ::: args3

/Ole
Yes thanks, moderately familiar with bash arg handling.  The partitioning of the args for the processor and the analyser could get interesting.

rjs


reply via email to

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