Python syntax here : 2.7 - online REPL
Javascript ES6 via Babel transpilation - online REPL
import math| #!/bin/sh | |
| docker events --filter 'event=start' --filter 'event=stop' | while read event | |
| do | |
| container_id=`echo $event | sed 's/.*Z\ \(.*\):\ .*/\1/'` | |
| echo $container_id |
Python syntax here : 2.7 - online REPL
Javascript ES6 via Babel transpilation - online REPL
import math