#!/bin/sh

for app in firefox mozilla-firefox firebird mozilla-firebird galeon mozilla netscape skipstone dillo konqueror amaya; do
  if [ -x "`which $app`" ]; then exec "$app" "$@"; fi
done

for app in w3m lynx links vim vi; do
  if [ -x "`which $app`" ]; then exec xterm -e "$app" "$@"; fi
done

echo "Can't find any web browser installed... last try..." >&2

exec netscape "$@"
