- 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>"
+ }