Inject the output of shell commands into arbitrary text templates