homepage/tartans/lstartans

10 lines
172 B
Bash
Executable File

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