LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-26-2003, 09:42 AM   #1
ashley8
LQ Newbie
 
Registered: Sep 2003
Distribution: suse 8.0
Posts: 10

Rep: Reputation: 0
Question how to read a troff file?


hi there,

I have a troff file and don't know what to do with it. who knows how to read this, or how to convert it to plain text? thnx.
 
Old 09-28-2003, 11:44 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,174
Blog Entries: 4

Rep: Reputation: 428Reputation: 428Reputation: 428Reputation: 428Reputation: 428
Where did this file come from? What is a troff file? Have you tried Google?
 
Old 09-28-2003, 12:57 PM   #3
m0rl0ck
Member
 
Registered: Nov 2002
Distribution: A totally 133t distro :)
Posts: 358

Rep: Reputation: 31
try using the man program:
man $file>textfile

Then you should be able to open "textfile" with any text editor.

Forgot to mention that youll need to give the man program the complete path to the file you want to open.

Last edited by m0rl0ck; 09-28-2003 at 01:00 PM.
 
Old 09-28-2003, 01:33 PM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,174
Blog Entries: 4

Rep: Reputation: 428Reputation: 428Reputation: 428Reputation: 428Reputation: 428
Try this search
 
Old 09-29-2003, 06:28 AM   #5
ashley8
LQ Newbie
 
Registered: Sep 2003
Distribution: suse 8.0
Posts: 10

Original Poster
Rep: Reputation: 0
hmm... maybe I should have mentioned that the first thing I did, of course, was searching on Google. I know a bit about troff now, that manpages are troff files and that it is a markup kind of language.

what I am still looking for is a tool that can strip the commands from the file, leaving a simple text file. anyone?
 
  


Reply


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I make a read-only file NOT read-only? robster Linux - General 1 02-17-2004 09:11 PM
How to Read a Troff Man File steve65 Linux - Software 7 10-20-2002 07:35 PM
Is this a troff, groff, TeX, or nroff file? atrionfo Linux - General 1 04-19-2002 05:55 AM
Change from Read only to Read Write File System? justiceisblind Linux - Newbie 3 03-03-2002 07:23 PM
troff: fatal error: can't find macro file tty-char robinhood1995 Linux - Software 0 01-28-2002 11:45 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration