]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/man/1/hget
add HISTORY to various man pages
[plan9front.git] / sys / man / 1 / hget
index f88c57e93ed0f6d958a1c363885876355241875a..a8671369dab29307b75dc81b7f22d47d639ce811 100644 (file)
@@ -1,6 +1,6 @@
 .TH HGET 1
 .SH NAME
-hget, hpost, ok, urlencode \- retrieve, post to a web page corresponding to a url
+hget, hpost, webpaste, urlencode \- retrieve, post to a web page corresponding to a url
 .SH SYNOPSIS
 .B hget
 [
@@ -48,8 +48,10 @@ hget, hpost, ok, urlencode \- retrieve, post to a web page corresponding to a ur
 ]
 .I ...
 .PP
-.B ok
+.B webpaste
+[
 .I file
+]
 .PP
 .B urlencode
 [
@@ -178,7 +180,7 @@ flag), the file has to be seekable as
 .IR file (1)
 is invoked to determine its mime type.
 .PP
-.I Ok
+.I Webpaste
 uploads the contents either of its standard input or
 .I file
 to the pastebin website
@@ -204,7 +206,7 @@ edited and sent.
 .IP
 .EX
 % hpost http://p.intma.in
-/bin/hpost -u http://p.intma.in -p paste.cgi text:
+hpost -u http://p.intma.in -p paste.cgi text:
 .EE
 .PP
 Manually specify fields to be sent to a given
@@ -226,14 +228,14 @@ to
 .B http://okturing.com
 .IP
 .EX
-% ns | ok
+% ns | webpaste
 .EE
 .SH SOURCE
 .B /rc/bin/hget
 .br
 .B /rc/bin/hpost
 .br
-.B /rc/bin/ok
+.B /rc/bin/webpaste
 .br
 .B /sys/src/cmd/urlencode.c
 .SH "SEE ALSO"
@@ -244,9 +246,21 @@ to
 .I Hget ,
 .I hpost
 and
-.I ok
+.I webpaste
 require
 .IR webfs (4)
 service mounted on
 .B /mnt/web
 to work.
+.SH HISTORY
+.I Hget
+first appeared in Plan 9 from Bell Labs. It was
+rewritten as an
+.I rc
+script for 9front (January, 2012).
+.I Hpost
+and
+.I urlencode
+first appeared in 9front (October, 2012).
+.I Webpaste
+first appeared in 9front (September, 2013).