Here documents: how to avoid string interpolation?

Anthony Vanelverdinghe anthony.vanelverdinghe at gmail.com
Sun Feb 22 11:27:02 UTC 2015


Hi

How can I avoid string interpolation in here documents with Nashorn? In 
other words: what if the here document contains the literal string 
"${a}"? The user guide section on here documents [1] doesn't tell how to 
do this.
If this is not available yet, shall I create a bug report for this?

Kind regards, Anthony

[1] 
http://docs.oracle.com/javase/8/docs/technotes/guides/scripting/nashorn/shell.html#sthref26


More information about the nashorn-dev mailing list