SHARE
TWEET

Untitled

a guest May 19th, 2017 40 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 14d13
  2. < JRUN_BIN="${CF_DIR}/runtime/bin"
  3. 35,36c34
  4. <         # $PSCMD | fgrep coldfusion9  > /dev/null 2>&1
  5. <         $PSCMD | grep -i $JRUN_BIN | grep -v 'grep' > /dev/null 2>&1
  6. ---
  7. >         $PSCMD | fgrep coldfusion9  > /dev/null 2>&1
  8. 119,121c117
  9. <             # $PSCMD | fgrep coldfusion9 | awk '{print $1}' | xargs kill -9 > /dev/null 2>&1
  10. <       $PSCMD | grep -i $JRUN_BIN  | grep -v 'grep' | awk '{print $1}' | xargs kill -9 > /dev/null 2>&1
  11. <      
  12. ---
  13. >             $PSCMD | fgrep coldfusion9 | awk '{print $1}' | xargs kill -9 > /dev/null 2>&1
  14. 134,136c130,131
  15. <           # $PSCMD | fgrep coldfusion9 | awk '{print $1}'
  16. <                 $PSCMD | grep -i $JRUN_BIN  | grep -v 'grep' | awk '{print $1}'
  17. <               fi
  18. ---
  19. >           $PSCMD | fgrep coldfusion9 | awk '{print $1}'
  20. >         fi
  21. 157,158c152
  22. <       # PSCMD="ps -axc"
  23. <       PSCMD="ps -ef"
  24. ---
  25. >       PSCMD="ps -axc"
  26. QAs-iMac:bin QA$ diff orig.coldfusion coldfusion
  27. 13a14
  28. > JRUN_BIN="${CF_DIR}/runtime/bin"
  29. 34c35,36
  30. <         $PSCMD | fgrep coldfusion9  > /dev/null 2>&1
  31. ---
  32. >         # $PSCMD | fgrep coldfusion9  > /dev/null 2>&1
  33. >         $PSCMD | grep -i $JRUN_BIN | grep -v 'grep' > /dev/null 2>&1
  34. 117c119,121
  35. <             $PSCMD | fgrep coldfusion9 | awk '{print $1}' | xargs kill -9 > /dev/null 2>&1
  36. ---
  37. >             # $PSCMD | fgrep coldfusion9 | awk '{print $1}' | xargs kill -9 > /dev/null 2>&1
  38. >       $PSCMD | grep -i $JRUN_BIN  | grep -v 'grep' | awk '{print $1}' | xargs kill -9 > /dev/null 2>&1
  39. >      
  40. 130,131c134,136
  41. <           $PSCMD | fgrep coldfusion9 | awk '{print $1}'
  42. <         fi
  43. ---
  44. >           # $PSCMD | fgrep coldfusion9 | awk '{print $1}'
  45. >                 $PSCMD | grep -i $JRUN_BIN  | grep -v 'grep' | awk '{print $1}'
  46. >               fi
  47. 152c157,158
  48. <       PSCMD="ps -axc"
  49. ---
  50. >       # PSCMD="ps -axc"
  51. >       PSCMD="ps -ef"
RAW Paste Data
Want to get better at Bash?
Learn to code Bash in 2017
Top