#!/bin/sh # # Script to put its arguments into an HTML table that has one pair of # attribute-value pairs per row. # # A back button is included so users can back up to the sending form. echo Content-type: text/html echo gawk -F'&' '{ print "
" print "" data[1] " | " data[2] " | " x++; # Repeat for second pair in the row if (x <= NF) { split($x, data, "="); print "" data[1] " | " data[2] " | " } print "" } print "