Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • May I ask what is "KISS"? Commented Feb 16, 2019 at 1:26
  • @Tim KISS principle Commented Feb 16, 2019 at 1:28
  • Very nice! Sed using "grep-style" would be sed -n '/jobs waiting: *0.*jobs waiting: *0/p' file and sed -n '/jobs waiting: *0.*jobs waiting: *0/!p' file. Commented Feb 16, 2019 at 1:38
  • Or grep -E '(jobs waiting: 0.*){2,}' file Commented Feb 16, 2019 at 12:13
  • Thanks for the great answer! Cheers. (I think KISS stands for Keep IT Simple, Stupid. Commented Feb 17, 2019 at 23:36