Projet

Général

Profil

Eval311 » Historique » Révision 2

Révision 1 (François Rioult, 18/06/2010 22:48) → Révision 2/3 (François Rioult, 22/06/2010 22:44)

h1. Eval311 

 h2. 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. 

 h2. Parameters 

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

 h2. Inputs 

 1 input file. 

 h2. Outputs 

 1 output: the result of the command. 

 h2. Shell code 

 <pre> 
 cmd=$1; shift 
 args=$1; shift 
 value=$1; shift 
 input=$1; shift 
 output=$1; shift 

 $cmd "$args" $value $input > $output 
 </pre> 

 h2. Example 

 This operator is used for applying a command with two parameters, for example in [[dataPreparation.aws]] [[CMAR.aws]] for invoking [[mvminer], a rule mining algorithm, the repartition task, that requires needs two parameters: the absolute minimum support number of files and the _delta_ value. current pair index.