3 cmds="$(dirname "$(realpath -- "$0")")"
6 [ -s parse.hash ] && hash_our="`cat parse.hash`" || :
7 [ -s download.hash ] && hash_their="`cat download.hash`" || :
8 [ "$hash_our" != "$hash_their" ] || exit 0
9 [ -s max ] && max=`cat max` || max=$FEEDER_MAX_ITEMS
10 $ZSTD -d < feed.zst | $cmds/feed2mdir/feed2mdir -max-entries $max . > title.tmp
12 echo "$hash_their" > parse.hash