Projet

Général

Profil

Actions

Eval221

Synopsis

This operator has two parameters, two inputs and one outputs. The corresponding shell script executes the parameters as a command on the inputs, and copies the result to the output.

Parameters

2 parameters, treated as the command to be executed.

Inputs

2 input files.

Outputs

1 output: the result of the command.

Shell Code

cmd=$1; shift
args=$1; shift
input1=$1; shift
input2=$1; shift
output=$1; shift

$cmd $args $input1 $input2 > $output

Example

This operator is used for applying a command with parameters, for example in perturbation.aws where the first parameter is the binary perturbation, the second is the parameter transmitted by Ariane, i.e. the percentage of perturbation.

Mis à jour par François Rioult il y a plus de 14 ans · 2 révisions