aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-14 14:25:10 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-14 14:25:10 +1200
commitf10421a52b3c11e2adbdbd36d87095cab676e656 (patch)
treef357d00241aff885f515d982c51756fb3754c9ee /man
parentFix typo (diff)
downloaddotfiles-f10421a52b3c11e2adbdbd36d87095cab676e656.tar.gz
dotfiles-f10421a52b3c11e2adbdbd36d87095cab676e656.zip
Add urlh(1) and urlmt(1)
Diffstat (limited to 'man')
-rw-r--r--man/man1/urlh.117
-rw-r--r--man/man1/urlmt.115
2 files changed, 32 insertions, 0 deletions
diff --git a/man/man1/urlh.1 b/man/man1/urlh.1
new file mode 100644
index 00000000..5066c7d0
--- /dev/null
+++ b/man/man1/urlh.1
@@ -0,0 +1,17 @@
+.TH URLH 1 "August 2016" "Manual page for urlh"
+.SH NAME
+.B urlh
+\- search for URL header values by name
+.SH SYNOPSIS
+.B urlh
+https://www.sanctum.geek.nz/
+Content-Type
+.SH DESCRIPTION
+.B urlh
+makes a cURL HEAD request for the given URL, and searches the headers for a key
+matching the given name, case-insensitively. It prints any matching values to
+stdout.
+.SH SEE ALSO
+curl(1), urlmt(1)
+.SH AUTHOR
+Tom Ryder <tom@sanctum.geek.nz>
diff --git a/man/man1/urlmt.1 b/man/man1/urlmt.1
new file mode 100644
index 00000000..843f7d81
--- /dev/null
+++ b/man/man1/urlmt.1
@@ -0,0 +1,15 @@
+.TH URLMT 1 "August 2016" "Manual page for urlmt"
+.SH NAME
+.B urlmt
+\- try to get the MIME type of the document at the given URL
+.SH SYNOPSIS
+.B urlmt
+https://www.sanctum.geek.nz/
+.SH DESCRIPTION
+.B urlmt
+uses urlh(1) to search for a Content-Type header for the given URL, and prints
+it with any trailing data (e.g. charset) trimmed off.
+.SH SEE ALSO
+curl(1), urlh(1)
+.SH AUTHOR
+Tom Ryder <tom@sanctum.geek.nz>