39 lines
739 B
Groff
39 lines
739 B
Groff
.Dd May 16, 2020
|
|
.Dt GEMINAWK 1
|
|
.Os
|
|
.Sh NAME
|
|
.Nm GEMINAWK
|
|
.Nd a Gemini client written with
|
|
.Xr awk 1
|
|
.Sh SYNOPSIS
|
|
.Nm
|
|
.Op Fl p Ar default-port
|
|
.Op Fl r Ar max-redirects
|
|
.Ar URL ...
|
|
.Sh DESCRIPTION
|
|
Fetch
|
|
.Ar URL
|
|
using the Gemini protocol.
|
|
.Pp
|
|
The options are as follows:
|
|
.Bl -tag -width Ds
|
|
.It Fl p Ar default-port
|
|
Set the default port to use when there is no port in the
|
|
.Ar URL .
|
|
.Pq default Li 1965
|
|
.It Fl r max-redirects
|
|
Set the maximum number of redirects to follow.
|
|
.Pq default Li 5
|
|
.El
|
|
.Sh SEE ALSO
|
|
.Xr awk 1 ,
|
|
.Xr nc 1
|
|
.Sh CAVEATS
|
|
By default, this only works with the OpenBSD, or LibreSSL,
|
|
.Xr nc 1 .
|
|
To use a different program for the TLS connection set the
|
|
.Ev NC
|
|
and
|
|
.Ev NCFLAGS
|
|
environment variables, or edit the script itself.
|