#!/bin/sh # redirect to another port on localhost # this is meant to run as a helper application under mozilla host=127.0.0.1 port=8081 echo "unpacking :$*: on $host:$port" >/tmp/chm.log chm_http --port=$port --bind=$host "$*" >chm.log 2>&1 & HTTP=/tmp/chm2http.html echo "