1 2
#!/bin/sh sort ${2:} -k "${1:-1}" | tr -s ' ' | /usr/local/bin/encode_html_entities | sed 's/^/<tr><td>/g' | sed 's|$|</td></tr>|g' | sed 's| |</td><td>|g'