in reply to How to UPDATE rather than append to STDOUT?
four argument select is used as a sub-second delay (sleep allows only integer seconds,) to emulate file processing.perl -ne "print qq/\r$. lines processed/;select undef, undef, undef, 0 +.2" your_file_here
~Particle *accelerates*
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to UPDATE rather than append to STDOUT?
by Anonymous Monk on Oct 07, 2011 at 00:42 UTC |