fork(4) download
  1. import groovy.text.SimpleTemplateEngine
  2. def bindings = ["REQ_BIND":"transformed"]
  3. def engine = new SimpleTemplateEngine()
  4. println engine.createTemplate("I'd like this <%=REQ_BIND%> but to leave ${'thisone'} alone").make(bindings).toString()
Success #stdin #stdout 1.3s 389056KB
stdin
Standard input is empty
stdout
I'd like this transformed but to leave thisone alone