Escape | in news titles. - annna - Annna the nice friendly bot.
 (HTM) git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Tags
 (DIR) README
       ---
 (DIR) commit ac6e0c6c47a6b492d46941536d12983c4b3f0a53
 (DIR) parent 135c72879e5d1b4fea31f61c6045759b3d49e1dd
 (HTM) Author: Annna Robert-Houdin <annna@bitreich.org>
       Date:   Fri,  6 Aug 2021 14:14:05 +0200
       
       Escape | in news titles.
       
       Thanks Bob and Duck for the hint.
       
       Diffstat:
         M phlog-index                         |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/phlog-index b/phlog-index
       @@ -42,7 +42,7 @@ do
                IFS=' ' read -r fname unixt user fpath <<< $f
                tstamp="$(sed -n 1p "$fpath" | cut -d' ' -f 2)"
                [ -z "$tstamp" ] && continue
       -        title="$(sed -n 3p "$fpath" | sed 's,\t,    ,g')"
       +        title="$(sed -n 3p "$fpath" | sed 's,\t,    ,g; s,|,\\|,g';)"
                [ -z "$title" ] && continue
        
                gphpth="$(printf "$gopherbase" "$user" "$fname")"