Fink List : I am interested in "manning" a UNIX command and putting the results into a file which I can
haul into emacs and then read.

I tried the following, and various forms, to end up with the same thing.

man rm > rm.dat

When I more rm.dat I get a nice readable file, here is a sample-


RM(1) System General Commands Manual RM(1)

NAME
rm, unlink - remove directory entries

SYNOPSIS
rm [-dfiPRrvW] file ...
unlink file

DESCRIPTION
The rm utility attempts to remove the non-directory type files specified
on the command line. If the permissions of the file do not permit writ-
ing, and the standard input device is a terminal, the user is prompted

%%%%% End Sample from more command
However, when I bring rm.dat into emacs it looks like this-
%%%%% begin Sample from emacs file



RM(1) System General Commands Manual RM(1)

N^HNA^HAM^HME^HE
r^Hrm^Hm, u^Hun^Hnl^Hli^Hin^Hnk^Hk - remove directory entries

S^HSY^HYN^HNO^HOP^HPS^HSI^HIS^HS
r^Hrm^Hm [-^H-d^Hdf^Hfi^HiP^HPR^HRr^Hrv^HvW^HW] _^Hf_^Hi_^Hl_^He _^H._^H._^H.
u^Hun^Hnl^Hli^Hin^Hnk^Hk _^Hf_^Hi_^Hl_^He

D^HDE^HES^HSC^HCR^HRI^HIP^HPT^HTI^HIO^HON^HN
The r^Hrm^Hm utility attempts to remove the non-directory type files specified
on the command line. If the permissions of the file do not permit writ-
ing, and the standard input device is a terminal, the user is prompted
(on the standard error output) for confirmation.

The options are as follows:

-^H-d^Hd Attempt to remove directories as well as other types of




%%%%% Continue question...
Any idea how to clear the emacs file of the garble that it picks up?


Also, any suggestions on a MAC OS X manual?

Mark



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to