Handbook
Glossary
gopher-less ( -- )
Vocabulary
gopher
.
cli
Inputs
None
Outputs
None
Definition
USING:
accessors
environment
io
io.encodings.utf8
io.files
io.files.temp
io.launcher
kernel
namespaces
;
IN:
gopher.cli
:
gopher-less
( -- )
"gopher.txt"
temp-file
[
utf8
[
<process>
"PAGER"
os-env
[
"less"
]
unless*
>>command
input-stream
get
>>stdin
try-process
]
with-file-reader
]
when-file-exists
;