diff options
Diffstat (limited to 'trunk/first-lines.sh')
-rw-r--r-- | trunk/first-lines.sh | 5 |
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 | ||
20 | echo -n "Compiling ${outFile}..." | 20 | echo -n "Compiling ${outFile}" |
21 | cat "$header" > $outFile | 21 | cat "$header" > $outFile |
22 | 22 | ||
23 | for file in $glob; do | 23 | for 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 "."; | ||
26 | done | 27 | done |
27 | echo "Done." | 28 | echo "Done." |