Mercurial > docs > diploma
comparison thesis/scripts/improve-index.awk @ 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 | d51894e48762 |
comparison
equal
deleted
inserted
replaced
371:44a3188bf6d2 | 372:6477e7827617 |
---|---|
1 #!/usr/bin/awk -f | |
2 # | |
3 # improve the index | |
4 | |
5 BEGIN{ | |
6 ie["mta"] = "mail transfer agent (\\MTA)"; | |
7 ie["mua"] = "mail user agent (\\MUA)"; | |
8 ie["smtp"] = "simple mail transfer protocol (\\SMTP)"; | |
9 ie["ietf"] = "Internet Engineering Task Force (\\NAME{IETF})"; | |
10 } | |
11 | |
12 { | |
13 cur = $0 | |
14 sub("[^{]*{", "", cur); | |
15 sub("[}!].*", "", cur); | |
16 if (ie[cur]) { | |
17 #print ie[cur]; | |
18 sub("{[^}!]*", "{" ie[cur]); | |
19 } | |
20 print; | |
21 } |