File: xkcdpunk.1

package info (click to toggle)
offpunk 3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,012 kB
  • sloc: python: 6,263; sh: 117; makefile: 2
file content (40 lines) | stat: -rw-r--r-- 1,026 bytes parent folder | download
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
.Dd February 9, 2026
.Dt XKCDPUNK 1
.Os 
.
.Sh NAME
.Nm xkcdpunk
.Nd Display XKCD comics directly in your terminal
.
.Sh SYNOPSIS
.Nm
.Op \-offline
.Op Ar INPUT ...
.Nm
.Fl h | \-help
.
.Sh DESCRIPTION
xkcdpunk will display a given xkcd comic and its alt-text directly in your terminal. Without argument, the latest known comic will be displayed. The argument can also be "random" to display a random comic.
.Ss Positional arguments
.Bl -tag -width Ds -offset indent
.It Ar INPUT
XKCD number. Besides a number, "latest" and "random" are accepted values. If missing, "latest" is assumed
.El
.Ss Keyword arguments
.Bl -tag -width Ds -offset indent
.It Fl \-offline
Only access already cached comics and do not download anything. "latest" will fails if no comic cached ever and "random" might fails if not enough cached comics.
.El
.
.Sh EXIT STATUS
.Ex -std
.
.Sh SEE ALSO
.Xr ansicat 1 ,
.Xr netcache 1 ,
.Xr offpunk 1 ,
.Xr openk 1 ,
.Lk https://offpunk.net/
.
.Sh AUTHORS
.An Lionel Dricot (Ploum) Aq Mt offpunk2 at ploum.eu