2021-02-12 17:17:42 +01:00
|
|
|
#!/usr/bin/env bash
|
2021-02-16 21:15:09 +01:00
|
|
|
out=`find . -name '*.java' -exec grep 'http://' /dev/null {} +`
|
|
|
|
echo "${out}"
|
2021-02-16 21:18:12 +01:00
|
|
|
if [[ "$(grep 'java' ${out})" ]]; then
|
2021-02-16 21:15:09 +01:00
|
|
|
echo "HTTP protocol found"
|
|
|
|
else
|
|
|
|
echo "HTTP protocol not found"
|
|
|
|
fi
|