summaryrefslogtreecommitdiff
path: root/distrib/sun3/common/RunList.sh
blob: 380cd2512bd2f633d64fe734017afbd23d71fe18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

#	$NetBSD: RunList.sh,v 1.1.1.1 1995/10/08 23:07:47 gwr Exp $

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

cat "$@" |
awk -f ${TOPDIR}/common/RunList.awk |
${SHELLCMD}