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

4 lines
170 B
Bash
Raw Normal View History

#!/usr/bin/env bash
message="HTTP protocol found"
find . -name '*.java' -exec grep 'http://' /dev/null {} + || message="HTTP protocol not found"
echo "--- ${message} ---"