From a710914b36db4d52ce557dab98b3208c9af95667 Mon Sep 17 00:00:00 2001 From: mischief Date: Sat, 22 Mar 2014 23:28:42 -0700 Subject: hget: add the -v option to produce progress on stderr, like old hget --- sys/man/1/hget | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'sys/man') diff --git a/sys/man/1/hget b/sys/man/1/hget index a8671369d..6857015bb 100644 --- a/sys/man/1/hget +++ b/sys/man/1/hget @@ -22,6 +22,8 @@ hget, hpost, webpaste, urlencode \- retrieve, post to a web page corresponding t ] [ .B -b .I baseurl +] [ +.B -v ] .I url .PP @@ -124,6 +126,15 @@ Option .B -m overrides the HTTP method used for the request. .PP +Option +.B -v +causes +.I hget +to emit download status on file descriptor 2, +suitable for use with +.I aux/statusbar . +See EXAMPLES. +.PP .I Hpost retrieves the web page specified by the URL .I url, @@ -201,6 +212,16 @@ Download a file from the web. % hget http://9front.org/img/nix-on.jpg >/tmp/nix-on.jpg .EE .PP +Use +.I hget +in conjuncton with aux/statusbar to monitor progress. +.IP +.EX +hget -v -o 9front.iso.bz2 \\ + http://www.r-36.net/9front/9front.iso.bz2 \\ + |[2] aux/statusbar '9front.iso.bz2' +.EE +.PP Retrieve the commands needed to submit a form, which may then be edited and sent. .IP -- cgit v1.2.3