Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 11-10-2003, 01:43 PM   #1
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
LQ Guru
Registered: Jan 2001
Posts: 24,147

Rep: Reputation: 229Reputation: 229Reputation: 229
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 and or for console based apps to do this, if there are any.
Old 11-10-2003, 02:07 PM   #3
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,041
Blog Entries: 11

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

There's also

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



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 55 07-09-2015 12:46 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

All times are GMT -5. The time now is 02:56 PM.

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