Advertisement
Guest User

Untitled

a guest
Jan 29th, 2013
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.50 KB | None | 0 0
  1. $ irb
  2. irb(main):001:0> stop_words = %w{the a and if}
  3. => ["the", "a", "and", "if"]
  4. irb(main):002:0> stop_words.each{|x| stop_words << x.capitalize}
  5. ^CIRB::Abort: abort then interrupt!
  6.         from (irb):2:in `call'
  7.        from (irb):2:in `block in irb_binding'
  8.         from (irb):2:in `each'
  9.        from (irb):2
  10.        from /usr/bin/irb:12:in `<main>'
  11. irb(main):003:0> stop_words.each{|x| stop_words << x.capitalize}
  12. ^CIRB::Abort: abort then interrupt!
  13.         from (irb):3:in `call'
  14.        from (irb):3:in `block in irb_binding'
  15.         from (irb):3:in `each'
  16.        from (irb):3
  17.        from /usr/bin/irb:12:in `<main>'
  18. irb(main):004:0> stop_words.each{|x| stop_words << x.capitalize}
  19. ^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C
  20. quit
  21. quit
  22. end
  23. end
  24. ^C^C^C
  25. kill
  26. die!
  27. quit
  28. ^Z
  29. [1]+  Stopped                 irb
  30. $ ps
  31.   PID TTY          TIME CMD
  32.  5008 pts/0    00:00:00 bash
  33. 15672 pts/0    00:00:33 irb
  34. 15707 pts/0    00:00:00 ps
  35. $ kill 15672
  36. $ ps
  37.   PID TTY          TIME CMD
  38.  5008 pts/0    00:00:00 bash
  39. 15672 pts/0    00:00:33 irb
  40. 15714 pts/0    00:00:00 ps
  41. $ kill -9 15672
  42. $ ps
  43.   PID TTY          TIME CMD
  44.  5008 pts/0    00:00:00 bash
  45. 15717 pts/0    00:00:00 ps
  46. [1]+  Killed                  irb
  47. $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement