From 863e47580bed788b215d4fdfd705200ff10e71cc Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Sat, 3 Mar 2012 23:33:42 -0500 Subject: [PATCH] language issue cleared up. --- scripts/core/functions.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/scripts/core/functions.sh b/scripts/core/functions.sh index 72258731..03135538 100644 --- a/scripts/core/functions.sh +++ b/scripts/core/functions.sh @@ -53,13 +53,9 @@ if [ -z "$skip_all" ]; then \rm "$tmppid" local appropriate_pattern='s/^.* *\([0-9][0-9]*\) *$/\1/p' for i in "${patterns[@]}"; do -#echo "pattern $i seek" >>~/crap.txt PIDS_SOUGHT+=$(cat $PID_DUMP \ | grep -i "$i" \ | sed -n -e "$appropriate_pattern") -#cp $PID_DUMP ~/crud -#echo heres the dump after grep >>~/crap.txt -#cat $PID_DUMP | grep -i "$i" >>~/crap.txt if [ ${#PIDS_SOUGHT[*]} -ne 0 ]; then # we want to bail as soon as we get matches, because on the same # platform, the same set of patterns should work to find all -- 2.34.1