Gary Hawkins wrote:
> 
> How can I clear a line before replacing it?
> 
> Am doing \r and overwriting, but sometimes the text that was there previously
> is longer than the new text.

Pad the shorter lines with spaces.  For example:

printf "\r%-20s", $something;



John
-- 
use Perl;
program
fulfillment

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to