1 2 3 4 5 6
#!/bin/sh text="$(date +" %H:%M")" printf '{ "text": "%s", "class": "block" }\n' "$text"