💾 Archived View for rawtext.club › ~zilog › 2023-09-07-znews.txt captured on 2023-12-28 at 16:50:31.

View Raw

More Information

⬅️ Previous capture (2023-09-08)

-=-=-=-=-=-=-

Thu 07 Sep 2023 08:37:46 PM UTC

Wrote a minimalist Gopher client which makes use of the network sockets
support in gawk(1), the only AWK with such a feature AFAIK:

 --
   $ ~zilog/public_bin/gophr
   
    a minimal Gopher client written in gawk(1)
   
    use:  gophr HOST [PATH] ; PATH defaults to '/'
   
    ex: $ gophr rawtext.club | less
        $ gophr rawtext.club '/~zilog/cgi-bin/AWKball.awk?Is true?'
   
   
   $ ~zilog/public_bin/gophr rawtext.club '/~zilog/cgi-bin/AWKball.awk?Really ?'
   
     The Magic AWK Ball is listening... 
   
     =>  Really ?
   
                   -:- 
   
             Without a doubt
   
                   ,-.    
                  (AWK)   
                   `-'    
   
 --

Generally it isn't necessary to quote the PATH but still a good idea if
there's any chance of shell expansion occuring.

The Gopher protocol is quite simple so the script is fairly short, only 25
lines of actual code.