[BACK]Return to runlist.sh CVS log [TXT][DIR] Up to [local] / src / distrib / pmax

File: [local] / src / distrib / pmax / Attic / runlist.sh (download)

Revision 1.1, Mon Nov 9 06:16:06 1998 UTC (25 years, 7 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5

pmax bsd.rd; not enabled yet as it has not been tested (though it compiles)

#	$OpenBSD: runlist.sh,v 1.1 1998/11/09 06:16:06 millert Exp $

if [ "X$1" = "X-d" ]; then
	SHELLCMD=cat
	shift
else
	SHELLCMD="sh"
fi

( while [ "X$1" != "X" ]; do
	cat $1
	shift
done ) | awk -f ${TOPDIR}/list2sh.awk | ${SHELLCMD}