#!/bin/bashs='aaaprint("Some single line text etc... "dddprint("""Some multi line text etc... """)zzzz'sed '/print("""/!{/print("/s/$/)/}' <<< "$s"
Standard input is empty
aaa print("Some single line text etc... ") ddd print("""Some multi line text etc... """) zzzz
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!