nnnotes/parse/inject.sh
2014-08-25 12:54:27 +02:00

17 lines
248 B
Bash
Executable File

#!/bin/bash
for i in *.mmd; do
f=$i
done
if [[ -z '$f' ]]; then
echo "No mmd file (markdown source file) in directory... Aborting.";
exit;
fi
# inject new nnnotes in source file
compare.sh | inject.py $f
# update index
make --quiet index