Brendan,
Thanks!
Randy Kramer
(PS: The second program is in C for OS/2, but includes the source, so
could be useful on other platforms.)
Brendan wrote:
>
> I seem to remember seeing it somewhere...Let me go look for it...
>
> Hm, if you speak Spanish, here is something for man2txt:
> #!/
Brendan,
Thanks again! So far I've only converted one page, and I did it with:
man [progname] | col -b > progname.man.txt
And then fixed things up as needed.
Expect to do more, when I do I'll look for more alternatives.
PS: I added your suggestions to a WikiLearn page:
http://twiki.org/cgi
I seem to remember seeing it somewhere...Let me go look for it...
Hm, if you speak Spanish, here is something for man2txt:
#!/usr/bin/perl
#Por C2H5OH (aka etanol).
#Copyleft 2001. GNU General Public License.
#Comunicar bugs a [EMAIL PROTECTED]
sub muestra_ayuda
{
print "Sintaxis:
Brendan wrote:
> # ./man2txt < umlug.1x.txt | less
Brendan,
Thanks for this! Where did you find man2txt. It seems to not be
installed on Mandrake 8.1 with the selection I made, and although I
found a man page for it on the internet, I haven't, so far, found a
place to download it.
Randy Krame
#!/bin/sh
# ./man2txt < umlug.1x.txt | less
nroff -man | perl -pe 's/\cH.//g' | uniq
# s,.\x08,,g;
# Robert Schmertz http://www.geocities.com/rschmertz/
#Though we don't have any underlines in our man page, this might not work
#with underlines, since I've found that the underscore is usually
Walter Logeman wrote:
> > In
> > other words, I'd like to convert the text output from what
> > comes out of col -b into something that would have each
> > "paragraph" on a single long line so I can easily copy and
> > paste it into a wiki.
>
> To piggy back on this... I used an editor in Windo
Gerald Waugh wrote:
> Try it like this, worked for me as I had the same trouble.
>
> $ man urpmi| col -b >urpmi.txt
Thanks -- I'm not the original poster that worked well.
Now a followup question:
Is there a similar command to filter out all the multiple spaces? In
other words, I'd like to
> Should be man XXX | col -b > XXX.txt
THANKS!
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com
On Friday 08 February 2002 09:18 pm, Walter Logeman wrote:
> > try man XXX|col -b|>XXX.txt
>
> Sounds good , but alas did not work for me as you can see i get
> a file with nothing in it. What am I missing?
>
Try it like this, worked for me as I had the same trouble.
$ man urpmi| col -b >urp
> try man XXX|col -b|>XXX.txt
Sounds good , but alas did not work for me as you can see i get
a file with nothing in it. What am I missing?
909 walter@psybernet:~ (03:13:50)
$ man urpmi|col -b|>urpmi.txt
910 walter@psybernet:~ (03:14:17)
$ ls urpmi* -l
-rw-r--r--1 walter walter
cool! i was finding a solution to this one a couple of months ago. btw, you could omit
the last pipe as it is a little bit redundant.
thanks!
On Fri, 8 Feb 2002 09:32:27 +0800
"hinet" <[EMAIL PROTECTED]> revealed these words to me:
> try man XXX|col -b|>XXX.txt
> - Original Message -
11 matches
Mail list logo