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

6 lines
155 B
Bash

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