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

6 lines
131 B
Bash

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