From ffe439bf0ab5f78414549df4f2366429d3e7c869 Mon Sep 17 00:00:00 2001 From: Steven Carpenter Date: Tue, 24 Jun 2025 15:14:46 -0400 Subject: [PATCH] patching for migration to 25.05 --- search_string.sh | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100755 search_string.sh diff --git a/search_string.sh b/search_string.sh deleted file mode 100755 index 1a80807..0000000 --- a/search_string.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -# Check for correct number of arguments -if [ "$#" -ne 2 ]; then - echo "Usage: $0 " - exit 1 -fi - -directory="$1" -search_string="$2" - -# Check if the provided directory exists -if [ ! -d "$directory" ]; then - echo "Error: Directory '$directory' does not exist." - exit 2 -fi - -# Recursively search all files in the directory for the search string -grep -rnw "$directory" -e "$search_string" -