This won't be the first time I've missed something obvious but ... I like the idea of showing a 'spinner' (I usually just output a dot after every few seconds or so many iterations of a loop) but ... how do you make use of it?
The only ways I can think of running one in a working script is to refresh the character after each iteration of a loop - which won't look very good if the loop takes a long time to run, or to run the process doing the work in the background while the spinner is displaying, which will work but introduces other messy problems (like checking for the first process ending).
Am I being dense?