From 5ea5465f6ae28aa81590df90d2120389b895eb76 Mon Sep 17 00:00:00 2001 From: desktop Date: Thu, 18 Jan 2024 00:21:58 +0300 Subject: [PATCH] Parse : Fix startcase. --- .config/bash/module/Parse.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.config/bash/module/Parse.sh b/.config/bash/module/Parse.sh index 589049b..9e5b7a0 100644 --- a/.config/bash/module/Parse.sh +++ b/.config/bash/module/Parse.sh @@ -139,11 +139,13 @@ function parse_sentencecase() { # Usage: parse_startcase 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.