summaryrefslogtreecommitdiff
path: root/rc/out
blob: 71fb5f098283821e3e7c0581037f96ab1896b3d5 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/rc
if(~ $#* 0)
	f=8.out
if not
	f=$1
if(test -e $f)
	exec window -cd `{pwd} rc -c 'plumber; exec '^$f
echo error: $f does not exist >[1=2]
exit 'file not found'