Parse : Fix startcase.

This commit is contained in:
Dmitry Voronin 2024-01-18 00:21:58 +03:00
parent 34edaae576
commit 5ea5465f6a

View file

@ -139,11 +139,13 @@ function parse_sentencecase() {
# Usage: parse_startcase <STRING>
function parse_startcase() {
local IFS=$'\n'
local parts=$(_parse_split ${*})
local parts=($(_parse_split ${*}))
for part in ${parts[@]}; do
echo -n "${part^}"
done
echo
}
# Parse string to pretty Json.