Re: Shell scripting question
From: Trog Woolley (trog_at_email.fake)
Date: 11/07/03
- Next message: WipeOut: "Re: Fedora / Samba / Windows Problem"
- Previous message: David: "Thanks, coming in now."
- In reply to: Will: "Shell scripting question"
- Next in thread: Will: "Re: Shell scripting question"
- Reply: Will: "Re: Shell scripting question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 7 Nov 2003 08:17:25 +0000 (UTC)
While stranded on the hard shoulder of the information super highway snap12@ibm.com typed:
> Does anyone know how to display a moving character or progress bar in a
> shell script, I have a large shell script which can take some time to run
> and I was to display some activity for the user to see while the script is
> running so they know that the script is doing somthing.
The low tech way is to display these four characters in sequence
| / - \
inside the loop that is taking the most time; position the cursor and
display the next in the sequence. I do have some ksh code somewhere
that does this. If I can find it, I'll post it later.
-- Trog Woolley | trog at trogwoolley dot com (A Croweater back residing in Pommie Land with Linux) Isis Astarte Diana Hecate Demeter Kali Inanna
- Next message: WipeOut: "Re: Fedora / Samba / Windows Problem"
- Previous message: David: "Thanks, coming in now."
- In reply to: Will: "Shell scripting question"
- Next in thread: Will: "Re: Shell scripting question"
- Reply: Will: "Re: Shell scripting question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|