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/sys/lib/samsave – 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
 
3
file=$1
4
switch($#*){
5
case 1
6
	echo -n $file'?'
7
	yn=`{read < /dev/cons}
8
	if(~ $yn y){
9
		cat > $file
10
	}
11
case 2
12
	/bin/echo $file
13
	/bin/cat > $file
14
}