Re: Fw: [newbie] making a file from a man doc

2002-02-25 Thread Randy Kramer
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: > #!/

Re: Fw: [newbie] making a file from a man doc

2002-02-25 Thread Randy Kramer
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

Re: Fw: [newbie] making a file from a man doc

2002-02-18 Thread Brendan
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:

Re: Fw: [newbie] making a file from a man doc

2002-02-14 Thread Randy Kramer
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

Re: Fw: [newbie] making a file from a man doc

2002-02-13 Thread Brendan
#!/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

Re: Fw: [newbie] making a file from a man doc

2002-02-12 Thread Randy Kramer
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

Re: Fw: [newbie] making a file from a man doc

2002-02-11 Thread Randy Kramer
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

Re: Fw: [newbie] making a file from a man doc

2002-02-09 Thread Walter Logeman
> Should be man XXX | col -b > XXX.txt THANKS! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com

Re: Fw: [newbie] making a file from a man doc

2002-02-08 Thread Gerald Waugh
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

Re: Fw: [newbie] making a file from a man doc

2002-02-08 Thread Walter Logeman
> 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

Re: Fw: [newbie] making a file from a man doc

2002-02-07 Thread Anuerin G. Diaz
t; - Original Message - > From: "Walter Logeman" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, February 08, 2002 5:58 AM > Subject: [newbie] making a file from a man doc > > > > I am trying to make a file from a man doc that I can the

Fw: [newbie] making a file from a man doc

2002-02-07 Thread hinet
try man XXX|col -b|>XXX.txt - Original Message - From: "Walter Logeman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 08, 2002 5:58 AM Subject: [newbie] making a file from a man doc > I am trying to make a file from a man doc that I ca

[newbie] making a file from a man doc

2002-02-07 Thread Walter Logeman
I am trying to make a file from a man doc that I can then print or view in an editor. 848 walter@psybernet:~ (10:51:52) $ man urpmi > manurpmi this creates the file however it has strange formatting: O OP PT TI IO ON NS S - -- -h he el lp p print an help message and exit