gawk

[old] Sed-like interface to the Gopher protocol
Log | Files | Refs | LICENSE

commit ceefd4c497c0cc8725e53fab381a90b56b6c97c7
parent 3d662aa02876db3c137bbda52d3e20a22c9ed235
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date:   Tue,  5 Jan 2021 15:41:25 -0800

Update manual

Rewrite the manual vaguely so it stays up to date until I'm more
certain things won't change every day.

Diffstat:
Mgawk.1 | 58++++++++++++----------------------------------------------
1 file changed, 12 insertions(+), 46 deletions(-)

diff --git a/gawk.1 b/gawk.1 @@ -1,54 +1,20 @@ .TH GAWK 1 2020.12.21 .SH NAME -gawk \(em gawk at gopher holes +gawk \(em gawk at gopherholes .SH SYNOPSIS -.B gawk -.OP path -| -.OP host -.OP path -.OP port +gawk +.RI [ path +.RI [ host +.RI [ port ]]] .SH DESCRIPTION -gawk is a simple gopher client which utilizes the standard input -to allow for both interactive and non-interactive usage. +gawk is a gopher client which utilizes the standard input for input +making it easy to script, simple and clean. .SH USAGE +These sections will be filled out when I'm more sure of the defaults. +.SS Syntax +There are three separators (see config.h), the first for statements, +the second commands and the third arguments. .SS Commands -.TP -.RB [ U | q ] -.TQ -Unwind the whole stack -.TP -.B p -.OP type -.OP substring -.TQ -Print gopher-text -.TP -.RB [ s | g ] -.OP path -| -.OP host -.OP path -.OP port -.TQ -Goto new location -.TP -.RB [ u | b ] -.OP n -.TQ -Unwind the stack. -.TP -.RB [ w | f ] -.OP item -.OP file -.TQ -Write to file. -.SS Command syntax -Commands are separated by linefeeds semicolens (`;') and the first -non-space character is taken as the command to invoke and each token -separated by colen (`:'), <tab>, and <space> following it is passed -as an argument. +See config.h for bindings and commands.h for definitions. .SH AUTHOR Jacob R. Edwards -.SH SEE ALSO -.BR gophmt (1)