NYCPHP Meetup

NYPHP.org

[nycphp-talk] CLI output question

David Mintz dmintz at davidmintz.org
Wed Aug 17 13:05:00 EDT 2005


How do you print to STDOUT so that what you're printing ~replaces~ what
you previously printed to STDOUT, instead of appending? You know, like the
way PEAR installer shows you download progress with a btye counter that
keeps updating itself?

I haven't been able to Google this effectively because I don't quite know
how to put it.

I looked around for a PEAR package but couldn't find any. I examined some
of the source involved in the pear installer but also came up empty.

Thanks,

---
David Mintz
http://davidmintz.org/



More information about the talk mailing list