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