LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Table in Linux into .doc format

[ILUG] Table in Linux into .doc format

Chris Higgins 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
word processor..

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
> http://www.linux.ie/mailman/listinfo/ilug/
> 


-- 
Chris Higgins                              
Darach Technology Ltd                      tel: +353-1-6204370
email: chris.higgins at darach.ie          fax: +353-1-6204371
http://www.darach.ie



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell