1#!/bin/sh 2grep=grep 3case $0 in 4 */*) 5 dir=${0%/*} 6 if test -x "$dir/grep"; then 7 PATH=$dir:$PATH 8 grep=grep 9 fi;; 10esac 11exec $grep -F "$@" 12