gCubeActions/27-01-2021-grepString/grepHttp.sh

9 lines
162 B
Bash
Raw Normal View History

#!/usr/bin/env bash
2021-02-16 11:19:19 +01:00
if [[ "$(find . -name '*.java' -exec grep 'http://' /dev/null {} +)" ]]; then
echo "http protocol found"
else
echo " http not found"
fi