egrep -v 'vPanedWidgetClass$' | \
egrep -v 'ascii(Disk|String)WidgetClass$' | \
awk '
{
printf "extern WidgetClass %s;\n", $1;
printf "{ \"%s\", &%s },\n", $1, $1;
-e 's/ObjectClass"/"/' -e 's/objectClass"/object"/' \
-e 's/widgetClass"/widget"/' >$tmp
cat <<EOF
/*
* This file is generated by the genlist.sh script and contains an array of
* all the widgets in Athena widget set.
*
* \$XConsortium\$
*/
#include <X11/IntrinsicP.h>
#include <X11/Xmu/WidgetNode.h>
EOF
echo ""
cat <<EOF
XmuWidgetNode XawWidgetArray[] = {
EOF
cat <<EOF
};
int XawWidgetCount = XtNumber(XawWidgetArray);
EOF