aboutsummaryrefslogtreecommitdiff
path: root/man/man1
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-06-24 14:55:58 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-06-24 14:55:58 +1200
commit130264d483ac38e90974acf59f9886124dad0017 (patch)
tree1f9efbf0e9d276750d4763db3896dbc2e75e8064 /man/man1
parentRemove stray line from gms(1) manual (diff)
downloaddotfiles-130264d483ac38e90974acf59f9886124dad0017.tar.gz
dotfiles-130264d483ac38e90974acf59f9886124dad0017.zip
Add man(1) pages for hurl, murl, and urlc
Diffstat (limited to 'man/man1')
-rw-r--r--man/man1/hurl.124
-rw-r--r--man/man1/murl.123
-rw-r--r--man/man1/urlc.123
3 files changed, 70 insertions, 0 deletions
diff --git a/man/man1/hurl.1 b/man/man1/hurl.1
new file mode 100644
index 00000000..23a73085
--- /dev/null
+++ b/man/man1/hurl.1
@@ -0,0 +1,24 @@
+.TH HURL 1 "June 2016" "Manual page for hurl"
+.SH NAME
+.B hurl
+\- parse contents of href attributes of <a> elements from HTML pages
+.SH SYNOPSIS
+.B hurl
+page.html
+.br
+.B hurl
+page1.html page2.html
+.br
+curl http://example.com/ |
+.B hurl
+.SH DESCRIPTION
+.B hurl
+parses its HTML input using pup[1] and prints the contents of all "href"
+attributes of <a> elements from the parsed content to stdout in byte-sorted
+order.
+.SH SEE ALSO
+[1] pup: https://github.com/ericchiang/pup
+.br
+murl(1), urlc(1)
+.SH AUTHOR
+Tom Ryder <tom@sanctum.geek.nz>
diff --git a/man/man1/murl.1 b/man/man1/murl.1
new file mode 100644
index 00000000..ecff8623
--- /dev/null
+++ b/man/man1/murl.1
@@ -0,0 +1,23 @@
+.TH MURL 1 "June 2016" "Manual page for murl"
+.SH NAME
+.B murl
+\- convert Markdown to HTML with pandoc(1) and extract URLs from it with hurl(1)
+.SH SYNOPSIS
+.B murl
+README.markdown
+.br
+.B murl
+page1.md page2.md
+.br
+find -type f -name '*.markdown' -exec cat {} \\; |
+.B murl
+.SH DESCRIPTION
+.B murl
+renders its Markdown input into HTML using pandoc(1), and passes that to
+hurl(1) which in turn prints the links from the rendered content.
+.SH SEE ALSO
+[1] pup: https://github.com/ericchiang/pup
+.br
+hurl(1), urlc(1)
+.SH AUTHOR
+Tom Ryder <tom@sanctum.geek.nz>
diff --git a/man/man1/urlc.1 b/man/man1/urlc.1
new file mode 100644
index 00000000..42ad2bdb
--- /dev/null
+++ b/man/man1/urlc.1
@@ -0,0 +1,23 @@
+.TH URLC 1 "June 2016" "Manual page for urlc"
+.SH NAME
+.B urlc
+\- check a list of URLs for errors, redirects, and available secure
+alternatives
+.SH SYNOPSIS
+.B urlc
+urls
+.br
+.B urlc
+urls1 urls2 urls3
+.br
+curl http://example.net/ | hurl |
+.B urlc
+.SH DESCRIPTION
+.B urlc
+iterates through the newline-delimited URLs passed to it on stdin and using
+curl(1) requests checks for retrieval errors, redirects, and tries a naive
+check to see if an HTTPS version is available of any unencrypted HTTP traffic.
+.SH SEE ALSO
+curl(1), hurl(1), murl(1)
+.SH AUTHOR
+Tom Ryder <tom@sanctum.geek.nz>