URI: 
       Fix atom generation, fix ed commands. - annna - Annna the nice friendly bot.
  HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
   DIR Log
   DIR Files
   DIR Refs
   DIR Tags
   DIR README
       ---
   DIR commit 597c3e0a24dacce5b1f895963fcd295a3a6fb578
   DIR parent 880ad7cbffd80013c092029141c728091370a81f
  HTML Author: Annna Robert-Houdin <annna@bitreich.org>
       Date:   Sun, 10 May 2020 17:14:47 +0200
       
       Fix atom generation, fix ed commands.
       
       Diffstat:
         M phlog-index                         |      15 +++++----------
       
       1 file changed, 5 insertions(+), 10 deletions(-)
       ---
   DIR diff --git a/phlog-index b/phlog-index
       @@ -1,7 +1,5 @@
        #!/bin/sh
        
       -set -x
       -
        export PATH="$PATH:/home/annna/bin"
        
        doforce=0
       @@ -124,20 +122,17 @@ cp lsr.new lsr.old
        
        {
                printf "/N_E_W_S/+1,\$-3d\n"
       -        printf "/N_E_W_S/r !cat /home/annna/phlogs/agg.gph | head -n 256\n"
       +        printf "?N_E_W_S?r !cat /home/annna/phlogs/agg.gph | head -n 256\n"
                printf "w\nq\n"
        } | ed -s /br/gopher/news.gph
        
        # Make the atom news file ready for consumption.
       -cp /br/gopher/news.atom.xml.tmpl /br/gopher/news.atom.xml
        {
       -        printf "/updated/+1,/\\/feed/-1d\n"
       -        printf "1\n"
       -        printf "/updated/c\n"
       -        printf "\t<updated>%s</updated>\n" "$(date -u +%F%T%z)\n"
       +        printf "/updated/+1,\$-1d\n"
       +        printf "?updated?c\n"
       +        printf "\t<updated>%s</updated>\n" "$(date -u +%F%T%z)"
                printf ".\n"
       -        printf "1\n"
       -        printf "/updated/r !cat /home/annna/phlogs/agg.atom.xml\n"
       +        printf "?updated?r !cat /home/annna/phlogs/agg.atom.xml\n"
                printf "w\nq\n"
        } | ed -s /br/gopher/news.atom.xml