#!/bin/sh if [ -z "$1" ]; then echo "Query the linuxfocus db at http://cgi.linuxfocus.org/cgi-bin/qdb" echo "You need to be connected to the internet to use this program" echo "" echo "qdb_sh searchstring" echo "" echo "EXAMPLE: qdb_sh georges" exit 0 fi lynx -source http://cgi.linuxfocus.org/cgi-bin/qdb\?s="$1" | sed -e 's/^<.*//' | sed -e 's/
//'