|
Server : Apache System : Linux 10-169-227-96.cprapid.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64 User : kwssawblade ( 1099) PHP Version : 7.2.34 Disable Function : exec,passthru,shell_exec,system Directory : /bin/ |
Upload File : |
#!/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 egrep"
else
_GREPOPT=-E
fi
exec $_EXECOPT $grep $_GREPOPT "$@"