This repository was archived by the owner on Dec 10, 2025. It is now read-only.

Description
The macOS grep command (BSD based) does not have a -P flag (perl regexp), so this part of the script (
|
ve=`unzip -p $jar_file $test 2> /dev/null | grep -Pzo "<artifactId>log4j</artifactId>\s*<version>.+?</version>"| cut -d ">" -f 2 | cut -d "<" -f 1 | head -2|awk 'ORS=NR%3?FS:RS'`; |
) fails on macOS.