3 fpath=($0:h:a/cmd/functions.zsh $fpath)
4 autoload url-to-filename
7 url="$url " # to be sure that next line will work
9 dir=feeds/$(url-to-filename $url)
11 [[ -e $dir ]] && continue || :
12 mkdir -p $dir/{cur,new,tmp} # make it maildir
13 echo "$url" > $dir/url
16 for dir (feeds/*) [[ $seen[$dir] -eq 1 ]] || print disappeared: $dir