1 2 3 4 5 6 7 8 9
#!/usr/bin/env kjscmd Factory.load('html2text_plugin.js'); var line = readLine(); while ( line != null ) { print( text2html(line) ); line = readLine(); }