Eval operators » Historique » Version 3
François Rioult, 19/09/2012 19:20
1 | 1 | François Rioult | h1. Eval operators |
---|---|---|---|
2 | |||
3 | KDAriane is provided with basic components for executing shell scripts. |
||
4 | |||
5 | The choice depends on how many |
||
6 | * parameters (p), |
||
7 | * input (i) |
||
8 | * output (o) you want. |
||
9 | |||
10 | The operators are named @"eval" + p + i + o @ and call the eponymous .sh script. |
||
11 | |||
12 | When an operator is executed, Ariane launches the script (for example @script.sh@) associated to the operator with giving the following arguments: |
||
13 | <pre> |
||
14 | 3 | François Rioult | script.sh parameter-1 ... parameter-p input-1 ... input-i output-1 ... output-o |
15 | 1 | François Rioult | </pre> |
16 | |||
17 | In Ariane, every operator has a return value, even if it has no output. |
||
18 | 2 | François Rioult | |
19 | @KDAriane@ is provided with a large collection of predefined @eval@ scripts, in the folder @shell@: |
||
20 | |||
21 | * [[Eval101]] |
||
22 | * [[Eval111]] |
||
23 | * [[Eval121]] |
||
24 | * [[Eval122]] |
||
25 | * [[Eval201]] |
||
26 | * [[Eval211]] |
||
27 | * [[Eval221]] |
||
28 | * [[Eval311]] |
||
29 | * [[Eval312]] |