http://qs1969.pair.com?node_id=11136165


in reply to Align columns in a table

I am reluctant to recommend the perl function write for anything, but it may be exactly what you need (no module required at all).
Bill