Hi Rich,
Here's the output from man procmail | col -b > procmail.txt
sh: -c: line 2: syntax error: unexpected end of line
Error executing formatting or display command.
System command (cd /usr/share/man ; (echo -e ".pl 11i"; /usr/bin/gunzip -c
/usr/share/man/man1/procmail.1.gz | /usr/bin/gtbl | /usr/bin/groff -S -Tlatin1 -mando
| /usr/bin less -isr) exited with status 2.
No manual entry for procmail
That's it. So what happened here and what's next? Thanks.
Had a difficult time writing the above. How can I catch these error msgs into a text
file for reading into another editor such as in here?
Horace
On Tue, Mar 06, 2001 at 10:13:02AM -0500, Rich Lafferty wrote:
> On Tue, Mar 06, 2001 at 02:50:23PM +0800, Horace G. Friend III ([EMAIL PROTECTED]) wrote:
> > Hi All,
> >
> > This is off-topic but I need a quick fix so I hope you'll oblige.
> > I still do double-sided printing in windoze because of my printer
> > (HP710C). :( I'd like to convert several man pages into plain
> > text and save it to my windoze dir. How can I do that?
> >
> > I've tried this command as suggested by man man page but doesn't work.
> >
> > man procmail | col -b > procmail.txt
> >
> > Any ideas? Thanks.
>
> First idea -- tell us what's happening, rather than saying it "doesn't
> work". That's the correct way to get a copy of a manual page with the
> bold and underline bits removed (-b strips out backspaces, which is
> how you do bold and underline in man).
>
> However, if you're doing this to print them out, why not generate
> postscript? Manual pages are just nroff documents.
>
> -Rich
>
> --
> ------------------------------ Rich Lafferty ---------------------------
> Sysadmin/Programmer, Instructional and Information Technology Services
> Concordia University, Montreal, QC (514) 848-7625
> ------------------------- [EMAIL PROTECTED] ----------------------