aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Makefile b/scripts/Makefile
index c2e4fc7..e1efdc9 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -39,9 +39,9 @@ w3mhelp-funcname.pl: w3mhelp-funcname.pl.in ../funcname.tab ../doc/keymap.defaul
@echo ');' >> w3mhelp-funcname.pl
@echo '%keyfunc = (' >> w3mhelp-funcname.pl
@case "$(KEYBIND_SRC)" in *lynx*) keymap=keymap.lynx;; *) keymap=keymap.default;; esac; \
- while read -r keyword keys func rest; do \
+ while read keyword keys func rest; do \
if [ "X$$keyword" = Xkeymap ]; then \
- keys=`echo "$$keys" | sed -e 's/\\\\/\\\\&/g'`; \
+ keys=`echo "$$keys" | sed -e 's/[\\"\\\\^]/\\\\&/g'`; \
echo "'$$keys', '$$func',"; \
fi; \
done < ../doc/$$keymap >> w3mhelp-funcname.pl