spinner Code.

This commit is contained in:
2026-01-09 09:51:51 +01:00
parent e265d95dd9
commit 88f7a07626
2 changed files with 15 additions and 0 deletions

5
really-long-command Executable file
View File

@@ -0,0 +1,5 @@
#! /usr/bin/env bash
sleep 4
echo "Ende langes Kommando"

10
spinner.sh Executable file
View File

@@ -0,0 +1,10 @@
#! /usr/bin/bash
for c in '/' '|' '\' '-'; do
printf "\r%s" "${c}"
sleep 1
done
echo
echo 'done'