From 5a328b8c4cb42336c63fd435f7beb8cd8bb5ae6d Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Thu, 7 Nov 2013 21:50:37 -0500 Subject: [PATCH 1/1] a better name. --- scripts/{buildor/search_code.sh => text/search_text.sh} | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) rename scripts/{buildor/search_code.sh => text/search_text.sh} (83%) diff --git a/scripts/buildor/search_code.sh b/scripts/text/search_text.sh similarity index 83% rename from scripts/buildor/search_code.sh rename to scripts/text/search_text.sh index 9aed0772..e88c58d8 100644 --- a/scripts/buildor/search_code.sh +++ b/scripts/text/search_text.sh @@ -2,8 +2,10 @@ seek="$1"; shift if [ -z "$seek" ]; then echo This script needs a pattern to look for in the current directory. - echo All code files here and in subdirectories will be searched for the + echo All non-binary files here and in subdirectories will be searched for the echo pattern. + echo A directory can be passed as an optional second parameter, which will + echo cause the search to occur in that directory instead. exit 1 fi #hmmm: might be nice to support multiple directories... -- 2.34.1