Mercurial > docs > diploma
comparison thesis/scripts/improve-index.sh @ 372:6477e7827617
added scripts for improved index generation and complete bibtex generation
author | meillo@marmaro.de |
---|---|
date | Sat, 31 Jan 2009 20:07:58 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
371:44a3188bf6d2 | 372:6477e7827617 |
---|---|
1 #!/bin/sh | |
2 # | |
3 # improve index source data and generate the index | |
4 | |
5 echo "improve-index.sh" | |
6 echo "@: $@" | |
7 | |
8 if [ $# -eq 0 ] ; then | |
9 echo "usage: $0 <idxinput> ..." | |
10 exit 1 | |
11 fi | |
12 | |
13 for i in "$@" ; do | |
14 echo "processing $i.idx" | |
15 mv "$i.idx" "$i.unprocessed.idx" | |
16 <"$i.unprocessed.idx" `dirname $0`/improve-index.awk >"$i.idx" | |
17 done | |
18 | |
19 makeindex "$@" |