From: Chris Koeritz Date: Wed, 27 Mar 2013 19:40:41 +0000 (-0400) Subject: switched around the pattern and the dir. X-Git-Tag: 2.140.90~1036 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=53879931b816a9c296189cf58d3273ac8bd68e0a;p=feisty_meow.git switched around the pattern and the dir. --- 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