From f53b14cfda0d732173412f5204f3d8d5547ed26f Mon Sep 17 00:00:00 2001 From: rcirillo-pc Date: Tue, 16 Feb 2021 11:23:34 +0100 Subject: [PATCH] fix grepHttp script --- 27-01-2021-grepString/grepHttp.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/27-01-2021-grepString/grepHttp.sh b/27-01-2021-grepString/grepHttp.sh index 019481c..58c8e30 100644 --- a/27-01-2021-grepString/grepHttp.sh +++ b/27-01-2021-grepString/grepHttp.sh @@ -6,5 +6,3 @@ else echo " http not found" fi - -find . -name '*.java' -exec grep 'http://' /dev/null {} + || echo "No http found"