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 05-14-2005, 08:39 PM   #1
DJOtaku
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora 20; Arch; Kubuntu; Debian
Posts: 710

Rep: Reputation: 31
strange characters when routing man page to txt file


I wanted to print out a man page so I did

man Eterm > Eterm_manual.txt

It put the man page into the file, but there were a bunch of ^H characters everywhere. Why did this happen and how can I eliminate it from occurring?
 
Old 05-14-2005, 09:48 PM   #2
crabboy
Moderator
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,823

Rep: Reputation: 120Reputation: 120
Found your solution here:

http://www.tldp.org/HOWTO/Man-Page/q10.html

Basically:
Code:
man Eterm | col -bx > Eterm_manual.txt
 
Old 05-14-2005, 11:06 PM   #3
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
If what you want to do is print the man-page, your could use the -Tps or -Tdvi options.
man -Tdvi Eterm >Eterm.dvi
man -Tps Eterm >Eterm.ps

If your man command doesn't have the -T option then use
man -t Eterm >Eterm.ps instead.
 
Old 05-15-2005, 01:03 AM   #4
DJOtaku
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora 20; Arch; Kubuntu; Debian
Posts: 710

Original Poster
Rep: Reputation: 31
thanks, the latter one worked just fine
 
  


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
Strange characters in man pages _maco_ Linux - General 2 06-01-2009 05:44 PM
characters disappearing in man command smips Linux - General 2 05-06-2005 04:29 AM
man alsamixer not showing the man page nosaku Slackware 1 12-20-2004 08:52 AM
funny characters in man pages durden2.0 Linux - General 4 06-27-2003 12:34 AM
man page with weird characters? falconxlc Linux - General 1 12-07-2002 10:17 PM


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