LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-31-2010, 05:35 AM   #1
madsovenielsen
Member
 
Registered: Aug 2009
Posts: 179

Rep: Reputation: 15
Strange output from man page Fedora 12


Hey all.

When i try to "save" a man page as text i get really strange output

Code:
man ed > test.txt
Here is a snippet of the output:

Code:
NNAAMMEE
       ed, red - text editor

SSYYNNOOPPSSIISS
       ed [-GVhs] [-p _s_t_r_i_n_g] [_f_i_l_e]

       red [-GVhs] [-p _s_t_r_i_n_g] [_f_i_l_e]

DDEESSCCRRIIPPTTIIOONN
       eedd is a line-oriented text editor.  It is used to create, display, mod-
       ify and otherwise manipulate text files.  rreedd is a  restricted  eedd:  it
       can  only  edit files in the current directory and cannot execute shell
       commands.
Whats wrong ?
 
Old 03-31-2010, 05:37 AM   #2
PMP
Member
 
Registered: Apr 2009
Location: ~
Distribution: RHEL, Fedora
Posts: 381

Rep: Reputation: 58
Are you able to see the man page correctly without redirecting it.

Last edited by PMP; 03-31-2010 at 05:40 AM.
 
Old 03-31-2010, 05:44 AM   #3
PMP
Member
 
Registered: Apr 2009
Location: ~
Distribution: RHEL, Fedora
Posts: 381

Rep: Reputation: 58
Try this
Code:
man ed | col -b > /tmp/ed.man
 
Old 03-31-2010, 06:29 AM   #4
madsovenielsen
Member
 
Registered: Aug 2009
Posts: 179

Original Poster
Rep: Reputation: 15
Yes the man pages are working like a charm its only occurring when i redirect to a file.

/mads
 
Old 03-31-2010, 06:30 AM   #5
madsovenielsen
Member
 
Registered: Aug 2009
Posts: 179

Original Poster
Rep: Reputation: 15
Great Success

Quote:
Originally Posted by PMP View Post
Try this
Code:
man ed | col -b > /tmp/ed.man
Thansk that did the trick.

/mads
 
Old 03-31-2010, 06:55 AM   #6
PMP
Member
 
Registered: Apr 2009
Location: ~
Distribution: RHEL, Fedora
Posts: 381

Rep: Reputation: 58
Please mark the thread as solved
 
  


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
Strange Gnome-terminal output on Fedora 11 64bit ESC201 Linux - General 12 08-03-2010 01:40 PM
How do I output information from a PHP page to an HTML page? SentralOrigin Programming 3 01-10-2009 01:54 AM
How do I get out of a man page? christianunix Linux - Newbie 4 10-17-2007 08:37 PM
strange characters when routing man page to txt file DJOtaku Linux - General 3 05-15-2005 01:03 AM
man alsamixer not showing the man page nosaku Slackware 1 12-20-2004 08:52 AM


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