Projet

Général

Profil

Eval122 » Historique » Version 1

François Rioult, 22/06/2010 22:36

1 1 François Rioult
h1. Eval122
2
3
h2. Synopsis
4
5
This operator has one parameter, two inputs and one output. The corresponding shell script executes the parameter as a command on both inputs and outputs.
6
7
h2. Parameters
8
9
1 parameter, treated as the command to be executed.
10
11
h2. Inputs
12
13
2 input files.
14
15
h2. Outputs
16
17
2 outputs, given as arguments to the shell command.
18
19
h2. Shell code
20
21
<pre>
22
cmd=$1; shift
23
input1=$1; shift
24
input2=$1; shift
25
output1=$1; shift
26
output2=$1; shift
27
28
$cmd $input1 $input2 $output1 $output2
29
</pre>
30
31
h2. Example
32
33
* in the discretization process [[discretization.aws]] for computing the dictionary starting from the data and the columns format