From d325d2226cf55b63037dc62cefb7fa952d770d50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Sun, 31 Jan 2021 14:14:05 +0000 Subject: Bind $home/bin/rc to rc/ instead of ./ --- rc/out | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 rc/out (limited to 'rc/out') diff --git a/rc/out b/rc/out new file mode 100755 index 0000000..71fb5f0 --- /dev/null +++ b/rc/out @@ -0,0 +1,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' -- cgit v1.2.3