Re: Shell scripting question
From: Will (snap12_at_ibm.com)
Date: 11/07/03
- Next message: telford_at_xenon.triode.bogus.au: "Re: RedHat CEO says home users shouldn't use Linux"
- Previous message: Michael W. Cocke: "Re: No more product "Red Hat Linux" ?"
- In reply to: Trog Woolley: "Re: Shell scripting question"
- Next in thread: Spamless: "Re: Shell scripting question"
- Reply: Spamless: "Re: Shell scripting question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 07 Nov 2003 13:35:48 GMT
Example code for the moving |/-\ would be excellent as this is exactly what
I am looking for !
Thanks
"Trog Woolley" <trog@email.fake> wrote in message
news:bofkel$9pn$1$8300dec7@news.demon.co.uk...
> 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: telford_at_xenon.triode.bogus.au: "Re: RedHat CEO says home users shouldn't use Linux"
- Previous message: Michael W. Cocke: "Re: No more product "Red Hat Linux" ?"
- In reply to: Trog Woolley: "Re: Shell scripting question"
- Next in thread: Spamless: "Re: Shell scripting question"
- Reply: Spamless: "Re: Shell scripting question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|