#!/usr/bin/env kjscmd Factory.load('html2text_plugin.js'); var line = readLine(); while ( line != null ) { print( text2html(line) ); line = readLine(); }