Projet

Général

Profil

Actions

Eval311

Synopsis

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

Parameters

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

Inputs

1 input file.

Outputs

1 output: the result of the command.

Shell code

cmd=$1; shift
args=$1; shift
value=$1; shift
input=$1; shift
output=$1; shift

$cmd "$args" $value $input > $output

Example

This operator is used for applying a command with two parameters, for example in dataPreparation.aws for invoking mvminer, a rule mining algorithm, that requires two parameters: the absolute minimum support and the delta value.

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