diff options
author | Case Duckworth | 2015-04-04 23:58:22 -0700 |
---|---|---|
committer | Case Duckworth | 2015-04-04 23:58:22 -0700 |
commit | 529ede146afd125c76d86eb55969983af8ee21db (patch) | |
tree | f80e532dbcfade4a2dee5e3d122a5bc2d623622e /trunk/common-titles.sh | |
parent | Add backlinks to backlinks (diff) | |
download | autocento-529ede146afd125c76d86eb55969983af8ee21db.tar.gz autocento-529ede146afd125c76d86eb55969983af8ee21db.zip |
Some revision & TOC inclusion
Diffstat (limited to 'trunk/common-titles.sh')
-rw-r--r-- | trunk/common-titles.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/trunk/common-titles.sh b/trunk/common-titles.sh index df6158d..bae8a10 100644 --- a/trunk/common-titles.sh +++ b/trunk/common-titles.sh | |||
@@ -1,12 +1,10 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | 2 | ||
3 | outFile="$1"; | 3 | outFile="$1"; |
4 | header="$2"; | 4 | shift 1; |
5 | shift 2; | ||
6 | glob="$@"; | 5 | glob="$@"; |
7 | 6 | ||
8 | echo -n "Compiling ${outFile}"; | 7 | echo -n "Compiling ${outFile}"; |
9 | cat "$header" > $outFile; | ||
10 | 8 | ||
11 | for file in $glob; do | 9 | for file in $glob; do |
12 | # Copy title to $outFile & link | 10 | # Copy title to $outFile & link |