Skip to content

Instantly share code, notes, and snippets.

@camerondavison
Last active June 21, 2016 21:19
Show Gist options
  • Save camerondavison/045da29e2cc5a59949361aab051eb805 to your computer and use it in GitHub Desktop.
Save camerondavison/045da29e2cc5a59949361aab051eb805 to your computer and use it in GitHub Desktop.
#!/bin/bash
set -euo pipefail
IFS=$'\n\t'
OUTER_COUNTER=0
while :; do
COUNTER=0
while [ $COUNTER -lt 10 ]; do
printf "${OUTER_COUNTER}:%-30000s\n" ' ' | tr ' ' "${COUNTER}"
let COUNTER=COUNTER+1
done
sleep 60
let OUTER_COUNTER=OUTER_COUNTER+1
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment