utiliser les fonctions strlower() et strupper() pour compatibilité

This commit is contained in:
2014-09-17 11:15:25 +04:00
parent d9266be21b
commit 9025d42e61
4 changed files with 10 additions and 8 deletions

View File

@@ -59,7 +59,7 @@ function check_overwrite() {
}
function __update_title() {
titlehl="${titlehl,,}"
titlehl="$(strlower "$titlehl")"
[ -n "$titlehl" ] || titlehl=h1
[ "${titlehl:0:1}" == "h" ] || titlehl="h$titlehl"