SHA256
1
0
forked from pool/ncurses
ncurses/awk-scripts.patch

40 lines
1.0 KiB
Diff

---
mk-1st.awk | 2 +-
mk-2nd.awk | 2 +-
mk-hdr.awk | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
--- mk-1st.awk
+++ mk-1st.awk 2020-08-31 13:43:20.574386946 +0000
@@ -262,7 +262,7 @@ function install_dll(directory,filename)
function in_subset(value) {
value = " " value " ";
check = subset;
- sub(" .*$", "", check);
+ sub(" *$", "", check);
gsub("[+]", " ", check);
check = " " check " ";
return index(check,value);
--- mk-2nd.awk
+++ mk-2nd.awk 2020-08-31 13:43:26.250284434 +0000
@@ -56,7 +56,7 @@
function in_subset(value) {
value = " " value " ";
check = subset;
- sub(" .*$", "", check);
+ sub(" *$", "", check);
gsub("[+]", " ", check);
check = " " check " ";
return index(check,value);
--- mk-hdr.awk
+++ mk-hdr.awk 2020-08-31 13:43:32.146177950 +0000
@@ -42,7 +42,7 @@ function basename(path) {
function in_subset(value) {
value = " " value " ";
check = subset;
- sub(" .*$", "", check);
+ sub(" *$", "", check);
gsub("[+]", " ", check);
check = " " check " ";
return index(check,value);