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*

4
  • Nice idea, but the build output will not be displayed "in real time", which is a requirement. Commented Nov 24, 2015 at 18:14
  • 1
    You can change your if to: if grep -Fq "AMIs were created" <<<"$msg"; then Commented Nov 24, 2015 at 18:15
  • 1
    And quote your variables: unix.stackexchange.com/q/171346/4667 Commented Nov 24, 2015 at 18:23
  • @glennjackman I didn't realize seeing all the output was a requirement, now that I re-read I see it towards the end. I'll leave what I have here in case it might be helpful to the asker for parsing the output. Commented Nov 25, 2015 at 11:36