From 492fec1724f078dd4b3f45d09fbfb9ae67f17180 Mon Sep 17 00:00:00 2001 From: fukiame Date: Sat, 7 Feb 2026 21:53:40 +0700 Subject: [PATCH] fix: common.sh: usage guide count Signed-off-by: fukiame --- MBCPApp/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MBCPApp/common.sh b/MBCPApp/common.sh index a300c4a..945a3ae 100644 --- a/MBCPApp/common.sh +++ b/MBCPApp/common.sh @@ -3,7 +3,7 @@ # imported from https://github.com/dylanaraps/pure-bash-bible bb_split() { - # Usage: split "string" "delimiter" + # Usage: split "string" "delimiter" "count" IFS=$'\n' read -d "" -ra arr <<< "${1//$2/$'\n'}" # printf '%s\n' "${arr[@]}" printf '%s\n' "${arr[$3]}"