From 53879931b816a9c296189cf58d3273ac8bd68e0a Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Wed, 27 Mar 2013 15:40:41 -0400 Subject: [PATCH] switched around the pattern and the dir. --- scripts/archival/find_in_arch.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/archival/find_in_arch.sh b/scripts/archival/find_in_arch.sh index f8c2b63d..999a7fbe 100644 --- a/scripts/archival/find_in_arch.sh +++ b/scripts/archival/find_in_arch.sh @@ -12,12 +12,12 @@ # scours through the archive files (tar, zip, etc) in a directory looking for a pattern # in the file. any matches are reported. -dir="$1"; shift pattern="$1"; shift +dir="$1"; shift if [ -z "$dir" -o -z "$pattern" ]; then - echo This utility requires a directory to scan for archives, and a pattern to - echo look for within each archive. Any matches are reported. + echo This utility requires a pattern string that will be sought within a + echo directory, and the directory to scan. Any matches are reported. exit 1 fi -- 2.34.1