homepage/tartans/lstartans

10 lines
172 B
Plaintext
Raw Normal View History

2009-11-13 17:09:22 -07:00
#! /bin/sh
cat $1; shift
2009-11-13 17:09:22 -07:00
for i in "$@"; do
base=$(basename $i .tartan)
name=$(awk -F': ' '(/^Name:/) {print $2; exit;}' $i)
echo "* [$name]($base.html)"
done