Re: HELP NEEDED WITH UNIX COMMAND MAN
From: Martin Blume (mblume_at_socha.net)
Date: 09/01/03
- Next message: John: "Re: How to recover original stdin after freopen()?"
- Previous message: Sigfried Manner: "Re: Linux / how to check if subprocess is still alive"
- In reply to: Lakshmi Jagarlapudi: "HELP NEEDED WITH UNIX COMMAND MAN"
- Next in thread: Bård Skaflestad: "Re: HELP NEEDED WITH UNIX COMMAND MAN"
- Reply: Bård Skaflestad: "Re: HELP NEEDED WITH UNIX COMMAND MAN"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 1 Sep 2003 20:04:27 +0200
"Lakshmi Jagarlapudi" <jlnarayana@comcast.net> schrieb
> HI
>
> Hey i have a quick question. How do we redirect the output of
> the man command to file which does not have junk or control
> charaters. i think there is an option.(like man -x etc)
>
> ex
> man date > first.txt
>
>
> How do we get the readable output into the first.txt.
>
man man tells you that:
-T device, --troff-device [=device]
This option is used to change groff (or
possibly troff's) output to be suitable for a
device other than the default.
man groff tells you:
Available devices are:
ps For PostScript printers and previewers
dvi For TeX dvi format.
X75 For a 75dpi X11 previewer.
X100 For a 100dpi X11 previewer.
ascii For typewriter-like devices.
...
Hence:
man -Tascii man >man.txt
See, it's actually simple.
RFTM => Read the fine man pages installed on your system.
HTH. YMMV
Martin
- Next message: John: "Re: How to recover original stdin after freopen()?"
- Previous message: Sigfried Manner: "Re: Linux / how to check if subprocess is still alive"
- In reply to: Lakshmi Jagarlapudi: "HELP NEEDED WITH UNIX COMMAND MAN"
- Next in thread: Bård Skaflestad: "Re: HELP NEEDED WITH UNIX COMMAND MAN"
- Reply: Bård Skaflestad: "Re: HELP NEEDED WITH UNIX COMMAND MAN"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|