ncurses 6.3 - patch 20220514
[ncurses.git] / mk-2nd.awk
index 147ea0d3f50e4bf04fa804d44cf05ba6612e80fe..4493bcf5ed23963dd0eae223bc1e5e8979819ffc 100644 (file)
@@ -1,6 +1,6 @@
-# $Id: mk-2nd.awk,v 1.21 2020/08/29 22:05:45 tom Exp $
+# $Id: mk-2nd.awk,v 1.23 2021/06/17 21:20:30 tom Exp $
 ##############################################################################
-# Copyright 2020 Thomas E. Dickey                                            #
+# Copyright 2020,2021 Thomas E. Dickey                                       #
 # Copyright 1998-2004,2005 Free Software Foundation, Inc.                    #
 #                                                                            #
 # Permission is hereby granted, free of charge, to any person obtaining a    #
@@ -56,7 +56,6 @@
 function in_subset(value) {
                value = " " value " ";
                check = subset;
-               sub(" .*$", "", check);
                gsub("[+]", " ", check);
                check = " " check " ";
                return index(check,value);
@@ -76,7 +75,7 @@ BEGIN {
                                        print  "# generated by mk-2nd.awk"
                                        printf "#   model:      %s\n", model
                                        printf "#   MODEL:      %s\n", MODEL
-                                       printf "#   echo:       %s\n", echo 
+                                       printf "#   echo:       %s\n", echo
                                        printf "#   subset:     %s\n", subset
                                        printf "#   crenames:   %s\n", crenames
                                        printf "#   cxxrenames: %s\n", cxxrenames