LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-26-2001, 01:17 PM   #1
phil1076
Member
 
Registered: Oct 2001
Location: Grand Cayman
Distribution: RH 9.0
Posts: 96

Rep: Reputation: 16
MAN Pages..can I export to a text file?


If I wabnt to print out a MAN page, is there a way to export it to a standard ASCII text file?
 
Old 10-26-2001, 01:24 PM   #2
d3funct
Member
 
Registered: Jun 2001
Location: Centralia, WA
Posts: 274

Rep: Reputation: 31
you should be able to print a manpage as it exists already. I believe a manpage is already PS compliant and just troff'd for formatting. You should be able to do something like "man dd |lpr" and get a manpage printout of the 'dd' command.
 
Old 10-26-2001, 03:51 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
that sounds about right to me.

if you DO want it as a text file just use

man ls > ls.man

DISCLAIMER: ls is NOT, i repeat NOT the only linux command.
Thankyou.
:-)
 
Old 10-26-2001, 09:55 PM   #4
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
Try this man lilo | col -bx >lilo.txt
 
1 members found this post helpful.
Old 10-29-2001, 08:11 AM   #5
phil1076
Member
 
Registered: Oct 2001
Location: Grand Cayman
Distribution: RH 9.0
Posts: 96

Original Poster
Rep: Reputation: 16
t

Thanks guys
 
1 members found this post helpful.
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Huge text in man pages and help gekko9 Linux - Newbie 3 05-01-2004 12:01 PM
man pages in text file serji Linux - Newbie 6 10-20-2003 03:59 PM
man pages in text file serji Linux - Software 6 10-20-2003 03:35 PM
converting man pages to windows-readable text peok Linux - General 4 10-12-2003 02:52 PM
how to produce a text file from man w/o formatting? spyghost Linux - Newbie 2 07-30-2003 06:05 PM

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

All times are GMT -5. The time now is 04:46 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