Add '27-01-2021-grepString/grepSlf4j-log4j.sh'
add new script for searching slf4j-log4j
This commit is contained in:
parent
8c87ce81dc
commit
19728df5ed
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
out=`find . -name pom.xml -exec grep 'slf4j-log4j' /dev/null {} + || echo 'empty'`
|
||||
if [[ ["${out}" != "empty"] && "$(grep pom.xml <<< ${out})" ]]; then
|
||||
echo "${out}"
|
||||
echo "slf4j-log4j found"
|
||||
else
|
||||
echo "slf4j-log4j not found"
|
||||
fi
|
Loading…
Reference in New Issue