projects
/
feeder.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c5f3c0
)
Print newly created feed
author
Sergey Matveev <stargrave@stargrave.org>
Sun, 20 Feb 2022 14:42:18 +0000 (17:42 +0300)
committer
Sergey Matveev <stargrave@stargrave.org>
Sun, 20 Feb 2022 14:42:18 +0000 (17:42 +0300)
urls2feeds.zsh
patch
|
blob
|
history
diff --git
a/urls2feeds.zsh
b/urls2feeds.zsh
index c7e97f1248abf308d8d060c842ab7da2f733e670..486ba8217e06f48b83f8aea2781b230c1d20b33f 100755
(executable)
--- a/
urls2feeds.zsh
+++ b/
urls2feeds.zsh
@@
-11,5
+11,6
@@
while read url ; do
[[ -e $dir ]] && continue || :
mkdir -p $dir/{cur,new,tmp} # make it maildir
echo "$url" > $dir/url
+ print $dir
done
for dir (feeds/*) [[ $seen[$dir] -eq 1 ]] || print disappeared: $dir