HP3000-L Archives

December 1998, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Bixby <[log in to unmask]>
Reply To:
Date:
Tue, 1 Dec 1998 15:49:11 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (41 lines)
Glenn Cole writes:
>
> Brad Kirchner writes:
> > When I do:
> > man sed > temp
> > ...I get lots of garbage when I open it up in vi.
> > I want to be able to somehow convert the formatting in a man page to
> > just plain ascii so vi can view and edit it.
>
> James Clark replies:
> > Do a man on man and there is an option for clear text, no highlights, for
> > just the purpose you are wanting it for. I do not use the option enough to
> > remember what it is, but I know it is there.
>
> I'm interested in hearing the solution to this, because
>
> (1) I don't see the option in 'man man'.  (I have -k for keyword lookup,
>     -M to search a specific path, -w to show the filename for the man
>     entry, and -x to show what files are being searched.  That's it!)

On HPUX, the option is "-", i.e. "man - sed >temp".  But you're right, I don't
see this option listed for MPE.

> (2) On HP-UX, I would use
>
>         man sed | col -b > temp
>
>     but 'col' does not exist on MPE!
>
> Hmmm...well, THAT's interesting!  I don't have this problem at all!
> That is, I have no highlights when doing the 'man' to the screen,
> and thus no special chars when I do the 'man' to a file!

Like Glenn, "man sed" is clean for me too, both to the screen and to a file.
--
Mark Bixby                      E-mail: [log in to unmask]
Coast Community College Dist.   Web: http://www.cccd.edu/~markb/
District Information Services   1370 Adams Ave, Costa Mesa, CA, USA 92626-5429
Technical Support               Voice: +1 714 438-4647
"You can tune a file system, but you can't tune a fish." - tunefs(1M)

ATOM RSS1 RSS2