homepage/tartans/lstartans

8 lines
157 B
Bash
Executable File

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