diff options
author | Case Duckworth | 2015-04-02 21:27:55 -0700 |
---|---|---|
committer | Case Duckworth | 2015-04-02 21:27:55 -0700 |
commit | d832dace648047cdeee32f295b7f1c799d0b5b50 (patch) | |
tree | 34f7efb6e713eef3522053a8ee2aded46ad1e33d /trunk/first-lines.sh | |
parent | Fix #15: add compile support for indeces (diff) | |
download | autocento-d832dace648047cdeee32f295b7f1c799d0b5b50.tar.gz autocento-d832dace648047cdeee32f295b7f1c799d0b5b50.zip |
Add Islands for backlinkless files
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." |