hash = $2
getline
- commit = "<h4>commit</h4><p>commit <a href=\"http://git.etalabs.net/cgi-bin/gitweb.cgi?p=musl;a=commit;h=" hash "\">" hash "</a>"
+ commit = "<h4>commit</h4><p>commit <a href=\"http://git.musl-libc.org/cgit/musl/commit/?id=" hash "\">" hash "</a>"
while (getline == 1)
commit = commit "<br>" $0
if ($2 ~ /bits\//)
s = $3 " "
else
- s = "<a href=\"http://git.etalabs.net/cgi-bin/gitweb.cgi?p=musl;a=blob;f=include/" $2 "#l" $4 "\">" $3 "</a> "
+ s = "<a href=\"http://git.musl-libc.org/cgit/musl/tree/include/" $2 "#n" $4 "\">" $3 "</a> "
kind[$1] = kind[$1] $3
kindstr[$1] = kindstr[$1] s
}
s = s "<td><a href=\"http://pubs.opengroup.org/onlinepubs/9699919799/functions/" $1 ".html\">" $1 "</a>"
n = split($2, x, " ")
s = s "<td>"
- for (i = 1; i <= n; i++)
- s = s " <a href=\"http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/" x[i] ".html\">" x[i] "</a>"
+ for (i = 1; i <= n; i++) {
+ h = x[i]
+ gsub(/\//, "_", h)
+ s = s " <a href=\"http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/" h ".html\">" x[i] "</a>"
+ }
n = split($3, x, " ")
s = s "<td>"
for (i = 1; i <= n; i++)