Actions
Eval121 » Historique » Révision 2
« Précédent |
Révision 2/3
(diff)
| Suivant »
François Rioult, 22/06/2010 22:50
Eval121¶
Synopsis¶
This operator has one parameter, two inputs and one output. The corresponding shell script executes the parameter as a command on both inputs, and copies the result to the output.
Parameters¶
1 parameter, treated as the command to be executed.
Inputs¶
2 input files.
Outputs¶
1 output: the result of the command
Shell code¶
cmd=$1; shift input1=$1; shift input2=$1; shift output=$1; shift $cmd $input1 $input2 > $output
Example¶
This operator is mainly used for combining two files :- in all for-loops, where the accumulator is handled by a
cat
or apaste
in the loop - in the discretization process discretization.aws for computing the dictionary starting from the data and the columns format
Mis à jour par François Rioult il y a plus de 14 ans · 2 révisions