exploitdb
exploitdb copied to clipboard
"grep: The -P option is not supported" on FreeBSD
Hi,
the implementation of the grep command on FreeBSD 12 (grep (GNU grep) 2.5.1-FreeBSD
) doesn't support the "-P" flag, even if the following check returns true:
grep --help 2>&1 | grep "[-]-perl-regexp"
I suggest to add a check of the OS in use, and in case of FreeBSD set:
REGEX_GREP="-E"
Cheers, RM
Thanks for the report - will look into it in a week or so time
Thanks for the report - will look into it in a week or so time
Sorry for the delay. Please could you try again with the latest version: https://gitlab.com/exploit-database/exploitdb If you are still having issues, open up a ticket here: https://gitlab.com/exploit-database/exploitdb/-/issues