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*

3
  • If string Pool ID happened to be on the same line as the red hat line, then the awk solution wouldn't work. Range operators in sed n awk r different in where they test for the conditions. Commented Oct 18, 2019 at 8:57
  • @RakeshSharma This is true. It would not work for any provider whose name contains the string Pool ID:. Commented Oct 18, 2019 at 9:53
  • @RakeshSharma they will always been on different lines. So no worries on that! Commented Oct 18, 2019 at 12:04