Projet

Général

Profil

Actions

Eval311 » Historique » Révision 2

« Précédent | Révision 2/3 (diff) | Suivant »
François Rioult, 22/06/2010 22:44


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 plus de 14 ans · 2 révisions