projects
/
feisty_meow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
280a3b9
)
language issue cleared up.
author
Chris Koeritz
<fred@gruntose.com>
Sun, 4 Mar 2012 04:33:42 +0000
(23:33 -0500)
committer
Chris Koeritz
<fred@gruntose.com>
Sun, 4 Mar 2012 04:33:42 +0000
(23:33 -0500)
scripts/core/functions.sh
patch
|
blob
|
history
diff --git
a/scripts/core/functions.sh
b/scripts/core/functions.sh
index 72258731f964960b810796801498c43909b913a9..0313553854df6d82559e16d6c086adb10e2eeb0a 100644
(file)
--- 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
\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")
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
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