about summary refs log tree commit diff stats
path: root/trunk/first-lines.sh
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/first-lines.sh')
-rw-r--r--trunk/first-lines.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/trunk/first-lines.sh b/trunk/first-lines.sh index 37b7291..fb06026 100644 --- a/trunk/first-lines.sh +++ b/trunk/first-lines.sh
@@ -17,11 +17,12 @@ firstLineOf() { # $1 = file
17 echo "$try" 17 echo "$try"
18} 18}
19 19
20echo -n "Compiling ${outFile}..." 20echo -n "Compiling ${outFile}"
21cat "$header" > $outFile 21cat "$header" > $outFile
22 22
23for file in $glob; do 23for file in $glob; do
24 # Copy first line to $outFile & link 24 # Copy first line to $outFile & link
25 echo "[$(firstLineOf "$file")](${file%.*}.html)" >> $outFile 25 echo "[$(firstLineOf "$file")](${file%.*}.html)" >> $outFile;
26 echo -n ".";
26done 27done
27echo "Done." 28echo "Done."