[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Patch] Adding examples to the man pages
From: |
Dr. David Alan Gilbert |
Subject: |
Re: [Patch] Adding examples to the man pages |
Date: |
Fri, 18 Mar 2005 17:36:27 +0000 |
User-agent: |
Mutt/1.5.6+20040907i |
* Paul Eggert (address@hidden) wrote:
> > Hmm - if you can suggest a good way to do this then I'd be happy to
> > write the examples in any reasonable way as long as they end up in 'man'
> > (as well as anywhere you want them).
>
> The general way is to submit a patch, in "diff -u" format. You'd
> need to patch doc/coreutils.texi and each source file (e.g., src/cp.c).
No I realise that; the issue is how to include examples in the help text
and let them be formatted appropriately for the man page (e.g.
highlighting the fixed text and user supplied text).
To be honest, this is just too much hastle; I'll go and add
examples to some other packages where I just need to edit man pages.
There is no point in me jumping backwards through 5 hoops to do
something useful when all I really need to do is add them to the .x
files.
Dave
-----Open up your eyes, open up your mind, open up your code -------
/ Dr. David Alan Gilbert | Running GNU/Linux on Alpha,68K| Happy \
\ gro.gilbert @ treblig.org | MIPS,x86,ARM,SPARC,PPC & HPPA | In Hex /
\ _________________________|_____ http://www.treblig.org |_______/
- Re: [Patch] Adding examples to the man pages, (continued)
- Re: [Patch] Adding examples to the man pages, James Youngman, 2005/03/14
- Re: [Patch] Adding examples to the man pages, Alfred M. Szmidt, 2005/03/14
- Re: [Patch] Adding examples to the man pages, Dave Gilbert (Home), 2005/03/15
- Re: [Patch] Adding examples to the man pages, Alfred M. Szmidt, 2005/03/14
- Re: [Patch] Adding examples to the man pages, James Youngman, 2005/03/15
- Re: [Patch] Adding examples to the man pages, Paul Eggert, 2005/03/15
- Re: [Patch] Adding examples to the man pages, Jim Meyering, 2005/03/15
- Re: [Patch] Adding examples to the man pages, Bob Proulx, 2005/03/15
- Re: [Patch] Adding examples to the man pages, Dave Gilbert (Home), 2005/03/16
- Re: [Patch] Adding examples to the man pages, Paul Eggert, 2005/03/17
- Re: [Patch] Adding examples to the man pages,
Dr. David Alan Gilbert <=
- Re: [Patch] Adding examples to the man pages, Paul Eggert, 2005/03/18
- Re: [Patch] Adding examples to the man pages, James Youngman, 2005/03/19
- Re: [Patch] Adding examples to the man pages, Dr. David Alan Gilbert, 2005/03/19
- Re: [Patch] Adding examples to the man pages, Paul Eggert, 2005/03/20
- Re: [Patch] Adding examples to the man pages, Dr. David Alan Gilbert, 2005/03/28
- Re: [Patch] Adding examples to the man pages, Jim Meyering, 2005/03/28