2 #@ Generate builtin mime.types (configuration sourced in environment).
8 < "$1" > "$2" exec ${awk} '
10 gsub(/[ ]]+/, " ", ln)
13 for(j = 1; j <= i; ++j){
15 e = (e ? e " " : "") k
24 /^[ ]*$/{ltype = ""; next}
27 print "FAULTY CONTINUATION: " $0 >> "/dev/stderr"
31 /^(\?([thHq])? )?[a-zA-Z]/{
32 if($1 ~ /^\?([thHq])?$/){
38 if($1 !~ /^([0-9a-zA-Z]+)\/([0-9a-zA-Z_+-]+)$/)
39 print "FAULTY MIME TYPE: <" $1 ">" >> "/dev/stderr"
44 no_a[++no_ai] = nt_a[ltype] = ltype
48 for(z = 1; z <= no_ai; ++z){
51 mt = toupper(substr(t, 1, j - 1))
59 mt = "a_MIMETYPE_" mt " | a_MIMETYPE_TM_PLAIN"
61 mt = "a_MIMETYPE_" mt " | a_MIMETYPE_TM_SOUP_h"
63 mt = "a_MIMETYPE_" mt " | a_MIMETYPE_TM_SOUP_H"
65 mt = "a_MIMETYPE_" mt " | a_MIMETYPE_TM_QUIET"
67 print " {" mt ", " l ", \"" j e_a[t] "\"},"