gCubeActions/16-01-2023-grepkeys/greptoken.sh

9 lines
195 B
Bash
Raw Normal View History

2023-01-16 16:48:08 +01:00
#!/usr/bin/env bash
2023-01-18 10:04:32 +01:00
out=`find . -name '*.java' -exec grep '-843339462' /dev/null {} +`
2023-01-16 16:48:08 +01:00
if [[ -n "${out}" ]]; then
echo "token found in: "
echo "${out}"
else
echo "token not found"
fi