Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- vsleep ()
- {
- sleep=$1;
- for ((i=1; i <= $sleep; i++ ))
- do
- echo -e "\r$(printf "%${COLUMNS}s" ' ' )\r\c";
- echo -e "$sleep: $i \c";
- sleep 1;
- done;
- echo
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement