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"