1#!/bin/sh 2 3for i 4do 5 case $i in 6 /*) lynx -dump file://localhost$i;; 7 *) lynx -dump file://localhost`pwd`/$i;; 8 esac 9done 10