docs/diploma

annotate thesis/scripts/improve-index.awk @ 375:91eb129dd695

rework in ch02 mainly
author meillo@marmaro.de
date Tue, 03 Feb 2009 12:35:04 +0100
parents 6477e7827617
children e57129f57faa
rev   line source
meillo@372 1 #!/usr/bin/awk -f
meillo@372 2 #
meillo@372 3 # improve the index
meillo@372 4
meillo@372 5 BEGIN{
meillo@373 6 e["mta"] = "mail transfer agent (\\NAME{MTA})";
meillo@373 7 e["mua"] = "mail user agent (\\NAME{MUA})";
meillo@373 8 e["mda"] = "mail delivery agent (\\NAME{MUA})";
meillo@373 9 e["smtp"] = "simple mail transfer protocol (\\NAME{SMTP})";
meillo@373 10 e["ietf"] = "Internet Engineering Task Force (\\NAME{IETF})";
meillo@373 11 e["debian"] = "Debian";
meillo@373 12 e["ascii"] = "ascii@\\NAME{ASCII}";
meillo@373 13 e["gpl"] = "General Public License (\\NAME{GPL})";
meillo@373 14
meillo@373 15 e["Oliver Kurth"] = e["Kurth"] = "Kurth@\\textsc{Kurth, Oliver}";
meillo@373 16 e["Adam Back"] = e["Back"] = "Back@\\textsc{Back, Adam}";
meillo@373 17 e["Eric Allman"] = e["Allman"] = "Allman@\\textsc{Allman, Eric}";
meillo@373 18 e["Stas Bekman"] = e["Bekman"] = "Bekman@\\textsc{Bekman, Stas}";
meillo@373 19 e["Daniel J. Bernstein"] = e["Bernstein"] = "Bernstein@\\textsc{Bernstein, Daniel J.}";
meillo@373 20 e["Bryan Costales"] = e["Costales"] = "Costales@\\textsc{Costales, Bryan}";
meillo@373 21 e["George Candea"] = e["Candea"] = "Candea@\\textsc{Candea, George}";
meillo@373 22 e["Dan Shearer"] = e["Shearer"] = "Shearer@\\textsc{Shearer, Dan}";
meillo@373 23 e["Dave Sill"] = e["Sill"] = "Sill@\\textsc{Sill, Dave}";
meillo@373 24 e["David A. Wheeler"] = e["Wheeler"] = "Wheeler@\\textsc{Wheeler, David A.}";
meillo@373 25 e["Kyle D. Dent"] = e["Dent"] = "Dent@\\textsc{Dent, Kyle D.}";
meillo@373 26 e["Derek Broughton"] = e["Broughton"] = "Broughton@\\textsc{Broughton, Derek}";
meillo@373 27 e["Doug McIlroy"] = e["McIlroy"] = "McIlroy@\\textsc{McIlroy, Doug}";
meillo@373 28 e["Peter Eisentraut"] = e["Eisentraut"] = "Eisentraut@\\textsc{Eisentraut, Peter}";
meillo@373 29 e["Tony Finch"] = e["Finch"] = "Finch@\\textsc{Finch, Tony}";
meillo@373 30 e["Armando Fox"] = e["Fox"] = "Fox@\\textsc{Fox, Armando}";
meillo@373 31 e["Frederik Vermeulen"] = e["Vermeulen"] = "Vermeulen@\\textsc{Vermeulen, Frederik}";
meillo@373 32 e["Marc G. Graff"] = e["Graff"] = "Graff@\\textsc{Graff, Marc G.}";
meillo@373 33 e["Munawar Hafiz"] = e["Hafiz"] = "Hafiz@\\textsc{Hafiz, Munawar}";
meillo@373 34 e["Philip Hazel"] = e["Hazel"] = "Hazel@\\textsc{Hazel, Philip}";
meillo@373 35 e["Ian R. Justman"] = e["Justman"] = "Justman@\\textsc{Justman, Ian R.}";
meillo@373 36 e["Jesse Freund"] = e["Freund"] = "Freund@\\textsc{Freund, Jesse}";
meillo@373 37 e["Jon Postel"] = e["Postel"] = "Postel@\\textsc{Postel, Jon}";
meillo@373 38 e["Jonathan de Boyne Pollard"] = e["de Boyne Pollard"] = "de Boyne Pollard@\\textsc{de Boyne Pollard, Jonathan}";
meillo@373 39 e["Stephen H. Kan"] = e["Kan"] = "Kan@\\textsc{Kan, Stephen H.}";
meillo@373 40 e["Brian W. Kernighan"] = e["Kernighan"] = "Kernighan@\\textsc{Kernighan, Brian W.}";
meillo@373 41 e["Nils Lenke"] = e["Lenke"] = "Lenke@\\textsc{Lenke, Nils}";
meillo@373 42 e["Markus Schnalke"] = e["Schnalke"] = "Schnalke@\\textsc{Schnalke, Markus}";
meillo@373 43 e["Michael Osterman"] = e["Osterman"] = "Osterman@\\textsc{Osterman, Michael}";
meillo@373 44 e["Rob Pike"] = e["Pike"] = "Pike@\\textsc{Pike, Rob}";
meillo@373 45 e["Eric S. Raymond"] = e["Raymond"] = "Raymond@\\textsc{Raymond, Eric S.}";
meillo@373 46 e["Dennis Ritchie"] = e["Ritchie"] = "Ritchie@\\textsc{Ritchie, Dennis}";
meillo@373 47 e["Peter Schmitz"] = e["Schmitz"] = "Schmitz@\\textsc{Schmitz, Peter}";
meillo@373 48 e["Ken Simpson"] = e["Simpson"] = "Simpson@\\textsc{Simpson, Ken}";
meillo@373 49 e["Diomidis Spinellis"] = e["Spinellis"] = "Spinellis@\\textsc{Spinellis, Diomidis}";
meillo@373 50 e["Andrew S. Tanenbaum"] = e["Tanenbaum"] = "Tanenbaum@\\textsc{Tanenbaum, Andrew S.}";
meillo@373 51 e["Kenneth R. van Wyk"] = e["van Wyk"] = "van Wyk@\\textsc{van Wyk, Kenneth R.}";
meillo@373 52 e["Wietse Venema"] = e["Venema"] = "Venema@\\textsc{Venema, Wietse}";
meillo@372 53 }
meillo@372 54
meillo@373 55
meillo@373 56
meillo@372 57 {
meillo@372 58 cur = $0
meillo@373 59 gsub(/\\nobreakspace \{\}/, " ", cur);
meillo@373 60 gsub(/\\ /, " ", cur);
meillo@373 61 sub(/[^{]*{/, "", cur);
meillo@373 62 sub(/[}!].*/, "", cur);
meillo@373 63 if (e[cur]) {
meillo@373 64 sub(/{[^}!]*/, "{" e[cur]);
meillo@372 65 }
meillo@372 66 print;
meillo@372 67 }