Warning: Attempt to read property "date" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "msg" on null in /usr/local/www/websvn.planix.org/blame.php on line 247
WebSVN – planix.SVN – Blame – /os/branches/feature_posix/rc/bin/E – Rev 2

Subversion Repositories planix.SVN

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
#!/bin/rc
2
# E file - B file, wait until it changes, exit
3
rfork e
4
if (! ~ $#* 1) {
5
	echo usage: $0 file >[1=2]
6
	exit usage
7
}
8
if (! test -e $1) {
9
	echo $0: $1: no such file >[1=2]
10
	exit no-file
11
}
12
otm = `{mtime $1 | awk '{print $1}'}
13
B $1
14
while (~ $otm `{mtime $1 | awk '{print $1}'})
15
	sleep 1
16
exit ''