LinuxQuestions.org
Visit Jeremy's Blog.
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 10-18-2003, 08:27 AM   #1
serji
LQ Newbie
 
Registered: Jun 2003
Location: spain
Distribution: debian 3.0, FreeBSD 4.7
Posts: 27

Rep: Reputation: 15
man pages in text file


hello friends!

i need to copy the output of several man pages in a text file.
i know "man ls > /tmp/ls" is a wrong idea because the output of "man ls" is not in text format.
i ve tried to do "script /tmp/file" and then "man ls" but the result is the same.
i ve tried to do "cat /tmp/file | nano textfile" but nano does not support this.

what must i do???

thanks
 
Old 10-19-2003, 06:53 AM   #2
zorrolero
LQ Newbie
 
Registered: Oct 2003
Location: Cologne (Germany)
Distribution: Debian
Posts: 13

Rep: Reputation: 0
Re: man pages in text file

Quote:
Originally posted by serji
hello friends!

i need to copy the output of several man pages in a text file.
i know "man ls > /tmp/ls" is a wrong idea because the output of "man ls" is not in text format.
i ve tried to do "script /tmp/file" and then "man ls" but the result is the same.
i ve tried to do "cat /tmp/file | nano textfile" but nano does not support this.

what must i do???

thanks
Don't know how to directly solve your problem. But what about
man2html? If you've got an apache installed, try "apt-get install
man2html" and view the manpages in your browser...there you
could print them maybe to a file with your printer-dialog...?

greez
 
Old 10-19-2003, 05:47 PM   #3
serji
LQ Newbie
 
Registered: Jun 2003
Location: spain
Distribution: debian 3.0, FreeBSD 4.7
Posts: 27

Original Poster
Rep: Reputation: 15
thanks!

this man2html is great but i would like to print out the man pages in spanish language. is this possible with man2html?
 
Old 10-20-2003, 01:46 AM   #4
zorrolero
LQ Newbie
 
Registered: Oct 2003
Location: Cologne (Germany)
Distribution: Debian
Posts: 13

Rep: Reputation: 0
imho that should be possible....
but you need "manpages-es" and maybe "manpages-es-extra"
to be installed!

greez
 
Old 10-20-2003, 09:58 AM   #5
demmylls
Member
 
Registered: Aug 2003
Location: AT
Distribution: Fedora Core 3
Posts: 404

Rep: Reputation: 30
where is the man file is in the drive?
 
Old 10-20-2003, 11:11 AM   #6
lenlutz
Member
 
Registered: May 2003
Location: philadelhpia pa
Posts: 92

Rep: Reputation: 15
see if this works (it used to, in the old unix days)

man ls | col -b > /tmp/foo
 
Old 10-20-2003, 03:35 PM   #7
serji
LQ Newbie
 
Registered: Jun 2003
Location: spain
Distribution: debian 3.0, FreeBSD 4.7
Posts: 27

Original Poster
Rep: Reputation: 15
ok. this is the solution. thank you.
 
  


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
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
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
MAN Pages..can I export to a text file? phil1076 Linux - General 4 10-29-2001 08:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:07 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration