summaryrefslogtreecommitdiff
path: root/distrib/arc/runlist.sh
diff options
context:
space:
mode:
authorPer Fogelstrom <pefo@cvs.openbsd.org>1997-05-14 21:15:46 +0000
committerPer Fogelstrom <pefo@cvs.openbsd.org>1997-05-14 21:15:46 +0000
commitd658f90adccc17f79bb2d7d2da45f97b8a678fd6 (patch)
treeb8173c508c30ea756bdbe9d2eba374ad7ae027e2 /distrib/arc/runlist.sh
parent3fc8df73347f8163374be5d272963e83a73b3986 (diff)
More ARC ramdisk stuff
Diffstat (limited to 'distrib/arc/runlist.sh')
-rw-r--r--distrib/arc/runlist.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/distrib/arc/runlist.sh b/distrib/arc/runlist.sh
new file mode 100644
index 00000000000..3e49510c909
--- /dev/null
+++ b/distrib/arc/runlist.sh
@@ -0,0 +1,13 @@
+# $Id: runlist.sh,v 1.1 1997/05/14 21:15:45 pefo Exp $
+
+if [ "X$1" = "X-d" ]; then
+ SHELLCMD=cat
+ shift
+else
+ SHELLCMD="sh -e"
+fi
+
+( while [ "X$1" != "X" ]; do
+ cat $1
+ shift
+done ) | awk -f ${TOPDIR}/list2sh.awk | ${SHELLCMD}