1#!/bin/sh -
2#
3# %sccs.include.proprietary.sh%
4#
5#	@(#)struct.sh	8.1 (Berkeley) 06/06/93
6#
7
8trap "rm -f /tmp/struct*$$" 0 1 2 3 13 15
9files=no
10for i
11do
12	case $i in
13	-*)	;;
14	*)	files=yes
15	esac
16done
17
18case $files in
19yes)
20	/usr/libexec/structure $* >/tmp/struct$$
21	;;
22no)
23	cat >/tmp/structin$$
24	/usr/libexec/structure /tmp/structin$$ $* >/tmp/struct$$
25esac &&
26	/usr/libexec/beautify</tmp/struct$$
27