9 lines
172 B
Bash
Executable file
9 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
|