Current Path : /bin/ |
Current File : //bin/fgrep |
#!/bin/sh grep=grep unset _EXECOPT _GREPOPT case $0 in */*) dir=${0%/*} if test -x "$dir/grep"; then PATH=$dir:$PATH grep=grep fi;; esac if [ "$GREP_LEGACY_EGREP_FGREP_PS" = 1 ]; then _EXECOPT="-a fgrep" else _GREPOPT=-F fi exec $_EXECOPT $grep $_GREPOPT "$@"