Friday, February 10, 2012

Re: [LINUX_Newbies] Bash script output formatting

Use "tput" and "date"... google "clock in bash with tput" for some
examples, or write back if you cant find anything.

On Fri, Feb 10, 2012 at 1:28 PM, gm7svk <specialq.que@gmail.com> wrote:

> **
>
>
> Is there a formatting parameter which will allow the over-writing of a
> number in same place on screen?
>
> Imagine trying to emulate a clock, have application which invloves a delay
> while system clock reaches next whole minute. At moment using a dot moving
> horizontally across screen each second. ie generating......as time elapses.
>
> Would like to have seconds (number) displayed exactly same as on a clock.
>
> Can it be achieved using bash and if so what is the echo syntax to do it?
>
> Thank you,
> Doug
>
>
>


[Non-text portions of this message have been removed]

------------------------------------

To unsubscribe from this list, please email LINUX_Newbies-unsubscribe@yahoogroups.com & you will be removed.Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/LINUX_Newbies/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/LINUX_Newbies/join
(Yahoo! ID required)

<*> To change settings via email:
LINUX_Newbies-digest@yahoogroups.com
LINUX_Newbies-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
LINUX_Newbies-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/

No comments:

Post a Comment