#!/bin/sh ## ## ned - shell script to get netscape to edit a local file ## case $1 in /*) file=$1 ;; *) file=`pwd`/$1 ;; esac if [ ! -s $file ] then echo "This file left intentionally blank" >> $file fi if netscape -remote "editURL(file://$file)" then echo new editor window created else netscape -iconic -composer "file://$file" & echo browser/editor started fi