From 615869edabec042fdcd960f17cdc7b6fc39b11a2 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Thu, 5 Sep 2019 01:49:01 -0400 Subject: Add title --- bin/man1/title.1 | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 bin/man1/title.1 (limited to 'bin/man1') diff --git a/bin/man1/title.1 b/bin/man1/title.1 new file mode 100644 index 00000000..927163fa --- /dev/null +++ b/bin/man1/title.1 @@ -0,0 +1,34 @@ +.Dd September 5, 2019 +.Dt TITLE 1 +.Os +. +.Sh NAME +.Nm title +.Nd page titles +. +.Sh SYNOPSIS +.Nm +.Op Ar url +. +.Sh DESCRIPTION +.Nm +fetches HTML page titles +over HTTP and HTTPS. +.Nm +scans standard input for URLs +and writes their titles to standard output. +If a +.Ar url +argument is given, +.Nm +exits after fetching its title. +. +.Sh EXAMPLES +.Bd -literal -offset indent +mkfifo snarf titles +relay irc.example.org 6697 snarf '#example' <>titles >snarf +title titles +.Ed +. +.Sh SEE ALSO +.Xr relay 1 -- cgit 1.4.1