aboutsummaryrefslogtreecommitdiff
path: root/bot.zsh
diff options
context:
space:
mode:
authorMaria Lisina <sekoohaka.sarisan@gmail.com>2026-03-21 22:41:43 +0300
committerMaria Lisina <sekoohaka.sarisan@gmail.com>2026-03-21 22:41:43 +0300
commit4cd4689457cb8ee33b077feec5e111909f4a475b (patch)
treeebe34b1cd8a10c46bbe48f18091a9a278a10de5f /bot.zsh
parent71713703e3e9728dc25d77e01dcb8dd2365ccae8 (diff)
*/*: Refactor cut calls
Signed-off-by: Maria Lisina <sekoohaka.sarisan@gmail.com>
Diffstat (limited to 'bot.zsh')
-rwxr-xr-xbot.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot.zsh b/bot.zsh
index b24383e..2e81cda 100755
--- a/bot.zsh
+++ b/bot.zsh
@@ -710,7 +710,7 @@ then
fi
help_line_counter=1
-help_max_line=$(($(grep -c '' <<< "${file_content}" | cut -d ' ' -f 1) + 1))
+help_max_line=$(($(grep -c '' <<< "${file_content}" | cut -F 1) + 1))
until [[ ${help_line_counter} -eq $((help_max_line + 1)) ]]
do