Projet

Général

Profil

Special operators for shell scripting » Historique » Version 3

François Rioult, 19/09/2012 19:26

1 1 François Rioult
h1. Special operators for shell scripting
2 2 François Rioult
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 2 François Rioult
</pre>
16
17
In Ariane, every operator has a return value, even if it has no output.