~strahinja/strahinja-org-slw

ref: simple strahinja-org-slw/default.html.do -rw-r--r-- 253 bytes
fc3a816dСтрахиња Радић New blog post 1 year, 1 month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
if [ "$2" == "index" ]; then
    for d in blog/*-*; do
        if [ -d $d ]; then
            for f in $d/*.slw; do
                [ -r $f ] && echo $f
            done
        fi
    done | xargs redo-ifchange
fi
redo-ifchange $2.slw
slweb $2.slw >$3