4 LC_ALL
=C
; export LC_ALL
5 LC_COLLATE
=C
; export LC_COLLATE
9 echo "Usage: $0 awk [-h headerdefine] outputheader proto_obj"
18 headeropt
="-v headername=$2"
26 headertmp
="$header.$$.tmp~"
28 proto_src
="`echo $@ | tr ' ' '\n' | sed -e 's/\.o/\.c/g' | sort | uniq | egrep -v 'ubiqx/|wrapped'`"
33 -f script
/mkproto.
awk $proto_src > $headertmp
35 if cmp -s $header $headertmp 2>/dev
/null
37 echo "$header unchanged"