Skip to content

Instantly share code, notes, and snippets.

@mrdaemon
Created February 20, 2014 19:50
Show Gist options
  • Save mrdaemon/9121805 to your computer and use it in GitHub Desktop.
Save mrdaemon/9121805 to your computer and use it in GitHub Desktop.
#!/bin/bash
while [[ -n $1 ]] ; do
(sleep "$1" ; echo -n "$1 " ) &
shift
done
wait
echo ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment