Projet

Général

Profil

Tee » Historique » Version 1

François Rioult, 22/06/2010 23:10

1 1 François Rioult
h1. Tee
2
3
# this shell is an alternative to the standard file saver of Ariane
4
# given a filename as parameter, it copies the input to it and the ouput.
5
6
<pre>
7
filename=$1; shift
8
input=$1; shift
9
output=$1; shift
10
11
cat $input | tee $filename > $output
12
</pre>