A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
74332e7baae4eda9c132b9eab24c1f01b9934129
[simgrid.git]
/
tools
/
tesh
/
background.tesh
1
2
$ cmake -E remove_directory temp_testdir_background
3
$ mkdir temp_testdir_background
4
$ cd temp_testdir_background
5
6
< use strict;
7
< sleep(1);
8
< open (FILE, "<tmp_fich") || die "Cannot open tmp_fich: $!\n";
9
<
10
< while (<FILE>) {
11
< print;
12
< }
13
< close(FILE);
14
< unlink("tmp_fich");
15
< exit 0;
16
<
17
$ mkfile delayed_cat.pl
18
19
& perl delayed_cat.pl
20
> TOTO
21
22
< TOTO
23
$ mkfile tmp_fich
24
25
$ sleep 2
26
$ cd ..