#! /bin/sh

: Bourne Shell

#
# unmake-ident -- replace ``# ident'' by static string decl.
#
# (C) m.b (Matthias Blume); 1992, HUB; Jan 1993 PU/CS
#         Humboldt-University of Berlin
#         Princeton University, Dept. of Computer Science
#
# ident "@(#) unmake-ident (C) M.Blume, Princeton University, 2.1"
#

sed -e '/^# ident/s/^[^"]*\(".*"\)/static char ident[] = \1;/' \
	<$1 >tempfile
mv -f tempfile $1
chmod 0444 $1
