LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-10-2003, 01:43 PM   #1
Alek
LQ Newbie
 
Registered: Aug 2003
Posts: 8

Rep: Reputation: 0
Question How to read ans parse MS word file using a Linux Shell script.


I have a MS word(.doc) file in my Linux directory.

How can I transform this file in a readable format in my Linux environment.

Is there any Linux command or utility to transform this file into RTF format or any other Linux format.


Thanks in advance, Alek
 
Old 11-10-2003, 02:00 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
I don't know of any console based apps that will do this but AbiWord, OpenOffice and the such will open and convert if necessary.

I'd start by searching at www.sourceforge.net and or www.freshmeat.net for console based apps to do this, if there are any.
 
Old 11-10-2003, 02:07 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
If it's not password protected you might
have a good chance with OpenOffice or
Abiword ...

There's also http://www.winfield.demon.nl/

If the document doesn't contain too many
weird things the simple command
strings
might be of help, losing all formatting,
though...


Cheers,
Tink
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bash shell script read file line by line. Darren[UoW] Programming 57 04-17-2016 06:07 PM
PHP Script to parse Word/RTF Documents saravanan1979 Programming 10 02-18-2010 07:25 AM
[Shell] Read a File from script yussef Programming 4 08-19-2008 04:26 AM
shell script: find subwords with 'compilation' word suresheva31 Programming 11 10-05-2005 04:17 AM
Shell script to read from csv file hendemeg Programming 1 05-11-2004 08:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration