RE: Controlling screen output. Print something then afterwards replace it

2009-04-22 Thread Bob McConnell
From: Michael Alipio > > Is it possible to print something and then replace what you > have printed with a different value? > > Say I have a program that watches a logfile and prints the > current number of lines. > > after sleeping for n seconds, it will print the number of > lines again. But i

Controlling screen output. Print something then afterwards replace it

2009-04-22 Thread Michael Alipio
Hi, Is it possible to print something and then replace what you have printed with a different value? Say I have a program that watches a logfile and prints the current number of lines. after sleeping for n seconds, it will print the number of lines again. But i don't want to print it below t