From a184d369f84bfb8129e7bb670010180e806a038f Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Jul 21 2011 04:04:51 +0000 Subject: Update `texinfo_getEntryTitle.sh'. --- diff --git a/Scripts/Functions/Help/Texinfo/texinfo_getEntryTitle.sh b/Scripts/Functions/Help/Texinfo/texinfo_getEntryTitle.sh index d438e77..f51e6f2 100755 --- a/Scripts/Functions/Help/Texinfo/texinfo_getEntryTitle.sh +++ b/Scripts/Functions/Help/Texinfo/texinfo_getEntryTitle.sh @@ -42,8 +42,9 @@ function texinfo_getEntryTitle { # In the entire phrase provided, concatenate all words with # slash (/) character and remark the fact it is a directory. PHRASE=$(echo "${PHRASE}" | sed -r \ - -e 's/^(Trunk|Branches|Tags)/\l\1/' \ - -e 's/ /\//g') + -e 's/(Trunk|Branches|Tags)/\l\1/' \ + -e 's/ /\//g' \ + -e 's/\/([[:alpha:]])/\/\u\1/g') PHRASE="`eval_gettext "The @file{$PHRASE} Directory"`"