I really like the look of the output of
But that script is only used for Input/Output operations.
How can I use it as a replacement for sleep but with visual feedback?
I couldn't see a way to do this using
Method #1 - Fake it
This method will simply overwrite what's been previously displayed to the screen with a larger progress bar. Simple but effective.
Method #2 - pipeview
Method #3 - spinner
You can use the following sample code to construct your own "spinner" using a simple loop. Within the loop you could embed whatever commands you like. This code comes from this article, titled: Can I do a spinner in Bash?.
Method #4 - dialog
There's a command called