Fix the gopher pearls to use "Host" instead of "Server". - gopher-lawn - The gopher lawn gopher directory project.
 (HTM) git clone git://bitreich.org/gopher-lawn/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/gopher-lawn/
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Tags
       ---
 (DIR) commit 705d6f666053b79821e2efea13b3d75e66654458
 (DIR) parent 42af4340d94ab096a9a8d9e09cb16ef370321aaa
 (HTM) Author: Julian Schweinsberg <pazz0@0xfa.de>
       Date:   Wed,  9 Aug 2023 17:28:30 +0200
       
       Fix the gopher pearls to use "Host" instead of "Server".
       
       Signed-off-by: Christoph Lohmann <20h@r-36.net>
       
       Diffstat:
         M db/pearl-500mileemail.text          |       2 +-
         M db/pearl-gopher-manifesto.text      |       2 +-
         M db/pearl-language-parable.text      |       2 +-
         M mk-pearls                           |      10 +++++-----
       
       4 files changed, 8 insertions(+), 8 deletions(-)
       ---
 (DIR) diff --git a/db/pearl-500mileemail.text b/db/pearl-500mileemail.text
       @@ -1,6 +1,6 @@
        Type: text
        Selector: /gopher2007/archive/seanm.ca/70/0/nerd/500mileemail.txt
       -Server: bitreich.org
       +Host: bitreich.org
        Port: 70
        LinkName: 500mileemail.txt - How E-Mail only is sent 500 miles. 
        Description: A gopher pearl from the gopher 2007 archive.
 (DIR) diff --git a/db/pearl-gopher-manifesto.text b/db/pearl-gopher-manifesto.text
       @@ -1,6 +1,6 @@
        Type: text
        Selector: /gopher2007/archive/seanm.ca/70/0/nerd/gopher-manifesto.txt
       -Server: bitreich.org
       +Host: bitreich.org
        Port: 70
        LinkName: gopher-manifesto - The Gopher Manifesto
        Description: A gopher pearl from the gopher 2007 archive.
 (DIR) diff --git a/db/pearl-language-parable.text b/db/pearl-language-parable.text
       @@ -1,6 +1,6 @@
        Type: text
        Selector: /gopher2007/archive/seanm.ca/70/0/nerd/language_parable.txt
       -Server: bitreich.org
       +Host: bitreich.org
        Port: 70
        LinkName: language_parable.txt - Well parse this, you little markup asshole! 
        Description: A gopher pearl from the gopher 2007 archive.
 (DIR) diff --git a/mk-pearls b/mk-pearls
       @@ -21,8 +21,8 @@
                                Selector:*)
                                        selector="${fieldval}"
                                        ;;
       -                        Server:*)
       -                                server="${fieldval}"
       +                        Host:*)
       +                                host="${fieldval}"
                                        ;;
                                Port:*)
                                        port="${fieldval}"
       @@ -35,17 +35,17 @@
                                esac
        
                                if [ -n "${selector}" ] \
       -                        && [ -n "${server}" ] \
       +                        && [ -n "${host}" ] \
                                && [ -n "${port}" ] \
                                && [ -n "${linkname}" ];
                                then
                                        printf "[0|     (_) %s|%s|%s|%s]\n" \
                                                "${linkname}" \
                                                "${selector}" \
       -                                        "${server}" \
       +                                        "${host}" \
                                                "${port}"
                                        selector=""
       -                                server=""
       +                                host=""
                                        port=""
                                        linkname=""
                                fi