summary refs log tree commit diff
path: root/bin/man1/title.1
blob: 9eb27cb1122fd69706822662c03e820d0d29a442 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
.Dd September 7, 2019
.Dt TITLE 1
.Os
.
.Sh NAME
.Nm title
.Nd page titles
.
.Sh SYNOPSIS
.Nm
.Op Fl x Ar pattern
.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.
.
.Pp
The arguments are as follows:
.Bl -tag -width Ds
.It Fl x Ar pattern
Exclude URLs matching
.Ar pattern ,
which is a modern regular expression.
See
.Xr re_format 7 .
.El
.
.Sh EXAMPLES
.Bd -literal -offset indent
mkfifo snarf titles
relay irc.example.org 6697 snarf '#example' <>titles >snarf
title <snarf >titles
.Ed
.
.Sh SEE ALSO
.Xr relay 1