infrastructure-presentation.../makedep.sh

7 lines
165 B
Bash
Executable File

#!/bin/bash
for i in *.pandoc; do
pdfn=`echo $i|sed s/\.pandoc$/.pdf/`
echo $pdfn: `grep '^!' "$i"|cut -d \( -f 2|cut -d \) -f 1|cut -d ' ' -f 1|sort|uniq `
done