republique

helper scripts for www.republique-numerique.fr
git clone https://a3nm.net/git/republique/
Log | Files | Refs | README

fmt.awk (296B)


      1 BEGIN { FS="\t" }
      2 {
      3   printf "<tr><td>%s</td>\n", $1;
      4   printf "<td><a href=\"https://www.republique-numerique.fr/profile/user/%s\">%s</a></td>", $2, $2;
      5   print "<td>", $3, "</td><td>", $4, "</td><td>" $5, "</td><td>", $6, "</td><td>";
      6   printf "<a href=\"%s\">%s</a></td></tr>", $7, $8, $8;
      7 }
      8