removed commented older code.
authorChris Koeritz <fred@gruntose.com>
Tue, 17 Feb 2015 22:28:58 +0000 (17:28 -0500)
committerChris Koeritz <fred@gruntose.com>
Tue, 17 Feb 2015 22:28:58 +0000 (17:28 -0500)
scripts/core/functions.sh

index f1fd1ea1b59c88fa6ab46224efb6dd76f778ed10..8c308e2e1201299c800642267445abc549f08073 100644 (file)
@@ -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 \