1#!/bin/sh234unset LC_ALL5LC_COLLATE=C6set -e78for i9do10 case $i in11 -c)12 cpu=$213 shift 214 ;;15 -*)16 echo mktbl: incorrect parameter:$i >&217 exit 118 ;;19 esac20done2122rm -f $$.c $family/${cpu}tbl.c23trap 'rm -f $$.c' EXIT24trap 'exit $?' HUP INT TERM2526awk '!/^$/ {print $1,NR,$2,$3,$4,$5,$6}' ops.dat |27sort -k1 -k2n |28LC_ALL=C awk -v cpu=`echo $cpu | tr a-z A-Z` -f ../mktbl.awk > $$.c &&29mv $$.c ${cpu}tbl.c