From: Chris Koeritz Date: Tue, 11 Mar 2014 22:45:50 +0000 (-0400) Subject: omitted a space in pattern from last checkin. X-Git-Tag: 2.140.90~808 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=3563fcc6ec0a02b299797e20e868ca11e9c60c49;p=feisty_meow.git omitted a space in pattern from last checkin. --- diff --git a/scripts/core/functions.sh b/scripts/core/functions.sh index 9740d2a1..8a2f3586 100644 --- a/scripts/core/functions.sh +++ b/scripts/core/functions.sh @@ -102,7 +102,7 @@ if [ -z "$skip_all" ]; then # local CR=' #' # embedded carriage return. # local appropriate_pattern="s/^.* *\([0-9][0-9]*\)[ $CR]*\$/\1/p" - local appropriate_pattern="s/^.* *\([0-9][0-9]*\)*\$/\1/p" + local appropriate_pattern="s/^.* *\([0-9][0-9]*\) *\$/\1/p" for i in "${patterns[@]}"; do PIDS_SOUGHT+=($(cat $PID_DUMP \ | grep -i "$i" \