node.js - On linux, how to wrap text around the output of a command and save it to a file? -


browserify my_file.js returns stream result of conversion of my_file browser. there way wrap "" readers around output? example: echo "<html>" > browserify my_file.js > "</html>" > bundle.js - or that.

(echo "<html>"    $browserify my_file.js   echo "</html>" ) > bundle.js  

the $browerify seems error in example, command '$' accidentally prepended it. if so, change removing leading $.

 (echo "<html>"       browserify my_file.js       echo "</html>" ) > bundle.js 

Comments

Popular posts from this blog

Java sticky instances of class com.mysql.jdbc.Field aggregating -