#!/bin/sh if { echo $HTTP_USER_AGENT | egrep -i "(lynx|links)" >/dev/null ; } then echo Content-Type: image/gif echo cat tabelka.gif else echo "Content-Type: text/html; charset=ISO-8859-2" echo cat tabelka.html fi