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:
11154b8
)
removed commented older code.
author
Chris Koeritz
<fred@gruntose.com>
Tue, 17 Feb 2015 22:28:58 +0000
(17:28 -0500)
committer
Chris Koeritz
<fred@gruntose.com>
Tue, 17 Feb 2015 22:28:58 +0000
(17:28 -0500)
scripts/core/functions.sh
patch
|
blob
|
history
diff --git
a/scripts/core/functions.sh
b/scripts/core/functions.sh
index f1fd1ea1b59c88fa6ab46224efb6dd76f778ed10..8c308e2e1201299c800642267445abc549f08073 100644
(file)
--- a/
scripts/core/functions.sh
+++ b/
scripts/core/functions.sh
@@
-98,9
+98,6
@@
if [ -z "$skip_all" ]; then
# we 'type' the file to get rid of the unicode result from wmic.
cmd $flag type "$tmppid" >$PID_DUMP
\rm "$tmppid"
-# 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"
for i in "${patterns[@]}"; do
PIDS_SOUGHT+=($(cat $PID_DUMP \