Projet

Général

Profil

Actions

Eval312

Synopsis

This operator has two parameters, one input and two outputs. The corresponding shell script executes the parameters as a command on the input and may have two outputs.

Parameters

3 parameters, treated as the command (and its two parameters) to be executed.

Inputs
1 input file.

Outputs

2 outputs: the result of the command.

Shell Code

cmd=$1; shift
args=$1; shift
value=$1; shift
input=$1; shift
output1=$1; shift
output2=$1; shift

$cmd "$args" $value $input $output1 $output2

Example

This operator is used for applying a command with parameters, for example in CMAR.aws for the repartition task, that needs two parameters: the number of files and the current pair index.

Mis à jour par François Rioult il y a presque 14 ans · 4 révisions