| GAWK(1) | General Commands Manual | GAWK(1) |
gawk — gawk at gopherholes
gawk [path [host [port]]]
gawk is a gopher (see STANDARDS) client which uses filtering instead of navigation making for a pleasant interface.
Statements are separated by semi-colen `;' and newline `\n'. Statement commands are separated by bar `|'. Command arguments are separated by space ` ' and tab `\t'.
If a statement consists of multiple commands this forms a pipeline, each command will either pass or skip it's input item, if a command is negated by prefixing it's name with an exclamation point `!' this effect is reversed.
G [path [host [port]]]
Go to the location specified by it's arguments, lacking arguments are replaced
by their current values.
q
Equivalent to u with an argument of the current depth.
u
Unwind the stack by n.
P
Wrapper around the `p' command which writes extra information about each
item.
e program [argument...]
Run program in the background with each argument consisting of solely
`%' replaced by host/path.
f [path]
Fetch each input item to path or, if lacking, the basename of the
remote path.
g [query]
Go to the location specified by it's input item, if the item is of type 7 the
op
i n...
Only pass items with an index matching one of the given indexes, n.
p
The `p' command formats it's input writing it to stdout.
r (low high)...
Only pass items with an index within one of the ranges
low-high.
s substring...
Only pass items if their info field gets matched by all substring
arguments.
t types
Pass items if their type is one of the types listed in types.
Configuration is done by creating a costom config.h and (re)compiling the source code.
Internet RFC 1436
Jacob R. Edwards
| 2020.12.21 | jacob |