summary refs log tree commit diff
path: root/bin/man1/title.1
blob: 43ecc5e281543bc12be6f8b58ed4d301bd3b539b (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
47
48
49
50
51
.Dd September 10, 2019
.Dt TITLE 1
.Os
.
.Sh NAME
.Nm title
.Nd page titles
.
.Sh SYNOPSIS
.Nm
.Op Fl v
.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 .
.It Fl v
Enable
.Xr libcurl 3
verbose output.
.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
gmsg'> 2021-05-07Use LDADD variables, support BINDIRJune McEnroe Also change MANDIR default to ${PREFIX}/man. 2020-12-13Use nick for color if user is "*" 1.1June McEnroe Not accurate but better than all nicks being the same color in imported logs. 2020-08-23Use DESTDIR in install 1.0June McEnroe 2020-08-23Add catsit example to READMEJune McEnroe 2020-08-23Update litterbox version rangeJune McEnroe 2020-08-19Set a database busy timeoutJune McEnroe 2020-07-29Add Linux supportJune McEnroe Static linking on Linux (even with musl-gcc) is just too much of a pain. People more dedicated than I am can figure it out themselves. Or how to properly sandbox this without a chroot. 2020-07-29Remove unused prevEventJune McEnroe 2020-07-23Rewrite configure scriptJune McEnroe 2020-07-21Add OpenBSD instructionsJune McEnroe 2020-07-21Use a .pc file to configureJune McEnroe 2020-07-19Filter networks with only private contexts from recents as wellJune McEnroe 2020-07-18Specify litterbox version in readmeJune McEnroe 2020-07-18Reverse order of X macro parameters for pages and keysJune McEnroe 2020-07-18Remove kcgi 0.11 compatibilityJune McEnroe 2020-07-17Filter networks with only private contextsJune McEnroe 2020-07-17Add export optionJune McEnroe Adding the export query parameter to any page downloads a .html with the default stylesheet embedded, and all navigation, forms and internal links removed, for being able to share some part of a private instance of litterbox. 2020-07-17Add margin to inputsJune McEnroe Seems that only Safari provides any margins on form elements by default. 2020-07-16Don't write null terminator in stylesheet responseJune McEnroe 2020-07-16Remove sudo from make installJune McEnroe