[ILUG] Table in Linux into .doc format
chris.higgins at darach.ie
Sun Oct 10 22:04:46 IST 2004
On Sun, 10 Oct 2004 20:40:09 +0100
Timothy Murphy <tim at birdsnest.maths.tcd.ie> wrote:
> On Sunday 10 October 2004 17:55, Chris Higgins wrote:
> > Use the 'standard' file formats ( CSV, RTF )
> Thanks - csv sounds like the right answer.
> Basically, I want something that can be translated easily
> into whatever "it" wants.
yeah-gods... have you seen enscript ?
Takes text file and generates .rtf
cat textfile | enscript -w rtf -o t.rtf
t.rtf is then opened as a nice rich text format file in any
Fiddle with the text file using pr, sed, awk or your favourite
tool and you are off :-)
oh the power of Unix :-) I love it..
enscript is 'usually' used to modify the format of files
on their merry way to your printer - using the '-o' option
diverts its hard word to an output file of your choice.
You don't even need to comma delimit your table :-)
What are we all doing online over the weekend anyway...
> Timothy Murphy
> e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
> tel: +353-86-2336090, +353-1-2842366
> s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
> Irish Linux Users' Group
Darach Technology Ltd tel: +353-1-6204370
email: chris.higgins at darach.ie fax: +353-1-6204371
More information about the ILUG