source: trunk/globale.sh@ 20

Last change on this file since 20 was 2, checked in by Mattia Monga, 14 years ago

Importazione sorgenti

  • Property svn:executable set to *
File size: 230 bytes
Line 
1
2
3globale=0
4
5function primo(){
6 globale=1;
7 echo "Primo ha finito"
8}
9
10function secondo(){
11 echo "Secondo ha iniziato"
12 sleep 10
13 echo $globale;
14 echo "Secondo ha finito"
15}
16
17
18primo ; secondo ;
19primo & secondo &
20wait %1 %2
Note: See TracBrowser for help on using the repository browser.