about summary refs log tree commit diff
path: root/index.ms.do
blob: 085de60158c4a36fd6b4a91a513cea245d5ba1bf (plain)
1
2
3
4
5
6
7
8
redo-ifchange $(find piosenki -type f -name '*.txt')

cat source.tmac > index.ms
for f in `find piosenki -type f -name '*.txt' | sort`; do
  filename=$(basename $f .txt)
  sed 'G' $f | grep -A1 . | sed 's/--//' > piosenki/.$filename.ms
  echo .SOURCE piosenki/.$filename.ms >> index.ms
done