#!/bin/sh
#
# blocate - Browse the result of a locate
#

TMP_FILE="/tmp/jumpPages/locate_$$.html"

if [ ! -d /tmp/jumpPages ]
then
	mkdir /tmp/jumpPages
fi

locate $1 | mkFileJumpPage > $TMP_FILE

netscape $TMP_FILE

# Jump pages only hang around for an hour, so save them if you want
# to keep them.

(sleep 3600; rm $TMP_FILE) &
