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

9 lines
162 B
Bash

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