Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 7189] progress spinner does not work in bash 3

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT metalab.unc.edu
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 7189] progress spinner does not work in bash 3
  • Date: Sun, 1 Aug 2004 20:53:20 -0400

http://bugs.sourcemage.org/show_bug.cgi?id=7189

acedit AT armory.com changed:

What |Removed |Added
----------------------------------------------------------------------------
Component|Sorcery |subroutines
Summary|Resurrect error on bash3(I |progress spinner does not
|know it's not yet workable |work in bash 3
|for it) |



------- Additional Comments From acedit AT armory.com 2004-08-01 20:53 -------
some very odd use of (( )) in progress_spinner, heres a replacement.
If you have time replace the one in libmisc and let me know if it works

function progress_spinner() {

let PROGRESS_SPINNER=$PROGRESS_SPINNER+1
if (( PROGRESS_SPINNER > ${#PROGRESS_SPINNER_CHARS}-1 )); then
PROGRESS_SPINNER=0;
fi
echo -en "\b${PROGRESS_SPINNER_CHARS:$PROGRESS_SPINNER:1}"
}




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




Archive powered by MHonArc 2.6.24.

Top of Page