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
-highlight'> 2022-02-19Remove unneeded includes in ui.cJune McEnroe 2022-02-19Reimplement tab completeJune McEnroe 2022-02-19Handle errors from editFn, etc.June McEnroe 2022-02-19Reimplement text macrosJune McEnroe 2022-02-19Factor out input handling to input.cJune McEnroe 2022-02-19Factor out window management to window.cJune McEnroe 2022-02-19Enable -Wmissing-prototypesJune McEnroe In other words, warn when a function is missing static. I don't see why this isn't in -Wextra. 2022-02-19Fix edit.[ch] license notice additional permissionsJune McEnroe 2022-02-19Run line editing testsJune McEnroe I know, it feels wrong. 2022-02-18Implement new line editing "library"June McEnroe Losing tab complete and text macros, for now. This new implementation works on an instance of a struct and does not interact with the rest of catgirl, making it possible to copy into another project. Unlike existing line editing libraries, this one is entirely abstract and can be rendered externally. My goal with this library is to be able to implement vi mode. Since it operates on struct instances rather than globals, it might also be possible to give catgirl separate line editing buffers for each window, which would be a nice UX improvement. 2022-02-18Simplify cursor positioning in inputJune McEnroe Do some extra work by adding the portion before the cursor to the input window twice, but simplify the interaction with the split point. This fixes the awkward behaviour when moving the cursor across colour codes where the code would be partially interpreted up to the cursor. 2022-02-18Fix M-f orderingJune McEnroe 2022-02-12Move sandman build to scripts/MakefileJune McEnroe 2022-02-12Use compat_readpassphrase.c on LinuxJune McEnroe 2022-02-12Copy RPP defines from oconfigureJune McEnroe