File: hello-render

package info (click to toggle)
stencil-clojure 0.5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 212 kB
  • sloc: xml: 88; makefile: 10; sh: 1
file content (3 lines) | stat: -rwxr-xr-x 156 bytes parent folder | download
1
2
3
#!/bin/sh

clojure -cp /usr/share/java/stencil.jar -e '(use '"'"'stencil.core) (render-string "Hello, {{name}}!" {:name "Barry"})' | grep '"Hello, Barry!"'