in reply to Capture wget progress bar
That prints "Loading......" with the periods coming singly, at one second intervals. This won't actually happen because it's going into the buffer. Rather, set Perl's special $| (that's a "pipe") to 1, so "$|=1" and output will go straight to stdout. Aftwards, if so inclined, set it back to 0 for regular buffering.print "Loading"; for(1..10) {print '.'; sleep(1);}
|
---|