http://www.perlmonks.org?node_id=567857


in reply to Running Linux but Exporting as MS Word?

Maybe you could write your doc in html and then use openoffice to convert it to MSword for you, its free and available on linux, and exports to MSword well. Im not sure how accessable to scripting it is though.

UPDATE
some links:
openoffice comandline
batch conversion


This is not a Signature...