Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
i'm using a command wget for getting a testfile from a server. it writes a output: --09:00:49-- http://www......:80/testfile.tst => `testfile.tst' Connecting to www........:80... connected! HTTP request sent, awaiting response... 200 OK Length: 1,123,328 [application/octet-stream] 0K -> .......... .......... .......... .......... .......... [ 4% +] 50K -> .......... .......... .......... .......... .......... [ 9% +] 100K -> .......... .......... .......... .......... .......... [ 13% +] 150K -> .......... .......... .......... .......... .......... [ 18% +] 200K -> .......... .......... .......... .......... .......... [ 22% +] 250K -> .......... .......... .......... .......... .......... [ 27% +] 300K -> .......... .......... .......... .......... .......... [ 31% +] 350K -> .......... .......... .......... .......... .......... [ 36% +] 400K -> .......... .......... .......... .......... .......... [ 41% +] 450K -> .......... .......... .......... .......... .......... [ 45% +] 500K -> .......... .......... .......... .......... .......... [ 50% +] 550K -> .......... .......... .......... .......... .......... [ 54% +] 600K -> .......... .......... .......... .......... .......... [ 59% +] 650K -> .......... .......... .......... .......... .......... [ 63% +] 700K -> .......... .......... .......... .......... .......... [ 68% +] 750K -> .......... .......... .......... .......... .......... [ 72% +] 800K -> .......... .......... .......... .......... .......... [ 77% +] 850K -> .......... .......... .......... .......... .......... [ 82% +] 900K -> .......... .......... .......... .......... .......... [ 86% +] 950K -> .......... .......... .......... .......... .......... [ 91% +] 1000K -> .......... .......... .......... .......... .......... [ 95% +] 1050K -> .......... .......... .......... .......... ....... [100% +] 09:00:57 (182.83 KB/s) - `testfile.tst' saved [1123328/1123328] i want write out to a doc file or txt file todays date , start time (09:00:49) , end time (09:00:57) and avg down +load rate (182.83 KB/s) if i run it it the next time it need to be append to the file thank you for helping or giving examples Jimmy
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: parsing from text - to output doc
by joealba (Hermit) on Jan 15, 2002 at 19:31 UTC | |
Re: parsing from text - to output doc
by gav^ (Curate) on Jan 16, 2002 at 10:04 UTC |
Back to
Seekers of Perl Wisdom