]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - include/MKparametrized.sh
ncurses 5.2
[ncurses.git] / include / MKparametrized.sh
index a957229dfbc0531bef06acd4157915e3c8b4235d..4c3365529816eaf170e344c3032b98fdd9a04c8d 100755 (executable)
@@ -1,4 +1,5 @@
 #!/bin/sh
+# $Id: MKparametrized.sh,v 1.5 2000/10/01 00:57:24 tom Exp $
 #
 # MKparametrized.sh -- generate indirection vectors for various sort methods
 #
@@ -10,7 +11,7 @@ cat <<EOF
 /*
  * parametrized.h --- is a termcap capability parametrized?
  *
- * Note: this file is generated using parametrized.sh, do not edit by hand.
+ * Note: this file is generated using MKparametrized.sh, do not edit by hand.
  * A value of -1 in the table means suppress both pad and % translations.
  * A value of 0 in the table means do pad but not % translations.
  * A value of 1 in the table means do both pad and % translations.
@@ -24,7 +25,7 @@ EOF
 # XENIX acs_* capabilities.  Maybe someday we'll dedicate a flag field for
 # this, that would be cleaner....
 
-awk <$CAPS '
+${AWK-awk} <$CAPS '
 $3 != "str"    {next;}
 $1 ~ /^acs_/   {print "-1,\t/* ", $2, " */"; count++; next;}
 $0 ~ /#[0-9]/  {print "1,\t/* ", $2, " */"; count++; next;}