1
0
mirror of https://github.com/Mayccoll/Gogh.git synced 2023-08-10 21:12:46 +03:00

Remove white space #120

This commit is contained in:
mquintero 2017-12-27 09:59:15 -05:00
parent 82cfe7b18e
commit 026452e5ac

View File

@ -172,7 +172,7 @@ capitalize (){
for char in $string for char in $string
do do
str=$(echo "${char:0:1}" | tr "[:lower:]" "[:upper:]")"${char:1} " str=$(echo "${char:0:1}" | tr "[:lower:]" "[:upper:]")"${char:1}"
RES="${RES}${str}" RES="${RES}${str}"
done done
@ -227,7 +227,7 @@ for TH in "${THEMES[@]}"; do
KEY=$(printf "%02d" $NUM) KEY=$(printf "%02d" $NUM)
FILENAME=${TH::$((${#TH}-3))} FILENAME=${TH::$((${#TH}-3))}
FILENAME_SPACE=${FILENAME//-/ } FILENAME_SPACE=${FILENAME//-/}
echo -e " (\\033[0m\033[0;34m $KEY \\033[0m\033[0m) $(capitalize "${FILENAME_SPACE}")" echo -e " (\\033[0m\033[0;34m $KEY \\033[0m\033[0m) $(capitalize "${FILENAME_SPACE}")"