~strahinja/strahinja.srht.site

ref: a1bdc8f28beb6be015c9d41f1d86de79597f0a5c strahinja.srht.site/blog/all.do -rw-r--r-- 311 bytes
a1bdc8f2Страхиња Радић Added .q/.a > ul formatting 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
for d in ../blog-src/*-*; do
	if [ -d $d ]; then
		[ ! -d ./$(basename $d) ] && mkdir -p ./$(basename $d)
		for f in $d/*.slw; do
			echo ./$(echo "$f" | sed -e's/\.\.\/blog-src//g' -e's/\.slw$//g').gmi
		done
	fi
done | xargs redo-ifchange
redo-ifchange index.slw
redo index
redo-ifchange rss.xml