add new grep script
This commit is contained in:
parent
1cbe2a4e15
commit
a5d64bc0d9
|
@ -0,0 +1,8 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
out=`find . -name '*.java' -exec grep 'gfeed.d4science.org' /dev/null {} + || echo 'empty'`
|
||||||
|
if [[ ["${out}" != "empty"] && "$(grep '\.java' <<< ${out})" ]]; then
|
||||||
|
echo "gFeed endpoint found in "
|
||||||
|
echo "${out}"
|
||||||
|
else
|
||||||
|
echo "gFeed endpoint not found"
|
||||||
|
fi
|
Loading…
Reference in New Issue