Do you really need to embed the script *within* the file? It would be straightforward to *invoke* a script from the file by something along the lines of:
bash -c script in the .bat file ... Eliot Moss -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple