From ab036d946f63f58fe42c2dc98ed1494f501a1e21 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Jul 21 2011 04:04:23 +0000 Subject: Update `texinfo_getEntryNode.sh'. --- diff --git a/Scripts/Functions/Help/Texinfo/texinfo_getEntryNode.sh b/Scripts/Functions/Help/Texinfo/texinfo_getEntryNode.sh index 6b0ff2e..38bca24 100755 --- a/Scripts/Functions/Help/Texinfo/texinfo_getEntryNode.sh +++ b/Scripts/Functions/Help/Texinfo/texinfo_getEntryNode.sh @@ -37,9 +37,9 @@ function texinfo_getEntryNode { local NODE=$(echo "$MANUAL_ENTRY" | sed -r \ -e "s!^${MANUAL_BASEDIR_L10N}/!!" \ -e "s/\.${MANUAL_EXTENSION}$//" \ - -e "s/chapter//" \ + -e "s!chapter!!" \ -e 's!(/|-)! !g' \ - -e 's!\<([[:alpha:]])\>!\u\1!g' \ + -e 's!\<([[:alpha:]]+)\>!\u\1!g' \ -e 's!^[[:space:]]+!!') echo "$NODE"