Re: [Patch] Adding examples to the man pages

2005-03-19 Thread Dr. David Alan Gilbert
Hi Paul, So adding the following to basename.c gets me a passable entry in the manpage: fputs (_("\ Examples:\n\ basename /usr/foo/lossage/functions.l returns functions.l\n\ basename /usr/foo/lossage/functions.l .l returns functions\n\ basename functions.lisp p

Re: problems w/ date

2005-03-19 Thread Mike Dunphy
> On Sat, 19 Mar 2005, "Bob" == Bob Proulx wrote: Bob> Hi Mike! Bob> Mike Dunphy wrote: +> I have a debian 3.1 install and date reports UTC despite TZ=PST and +> /etc/timezone = US/Pacific [...] despite the time really being 7:30 am +> PST Bob> What is the actual output of the

Re: problems w/ date

2005-03-19 Thread Bob Proulx
Hi Mike! Mike Dunphy wrote: > I have a debian 3.1 install and date reports UTC > despite TZ=PST and /etc/timezone = US/Pacific > [...] > despite the time really being 7:30 am PST What is the actual output of the date command? What timezone is it printing? I don't believe this is a problem with

problems w/ date

2005-03-19 Thread Mike Dunphy
fyi, I have a debian 3.1 install and date reports UTC despite TZ=PST and /etc/timezone = US/Pacific date (coreutils) 5.2.1 Written by David MacKenzie. Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even f

Re: Manpage suggestion

2005-03-19 Thread Jim Meyering
Berend Tober <[EMAIL PROTECTED]> wrote: > This is a very minor point, but still something to keep in mind for the > next time you need to make a new release of wc. > > The wc man page description reads: " wc - print the number of bytes, > words, and lines in files". > > I would suggest changing the

Re: "pr -D FORMAT" fixes, to match "date +FORMAT"

2005-03-19 Thread Jim Meyering
Paul Eggert <[EMAIL PROTECTED]> wrote: > The command pr -D FORMAT is documented to use the same format strings > that date +FORMAT does, but this isn't currently true because the > former uses strftime and the latter uses nstrftime. For example, pr > -D%N doesn't work. I installed this patch to f

Re: [Patch] Adding examples to the man pages

2005-03-19 Thread James Youngman
On Fri, Mar 18, 2005 at 05:36:27PM +, Dr. David Alan Gilbert wrote: > 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

Manpage suggestion

2005-03-19 Thread Berend Tober
This is a very minor point, but still something to keep in mind for the next time you need to make a new release of wc. The wc man page description reads: " wc - print the number of bytes, words, and lines in files". I would suggest changing the wording to read: " wc - print the number of line

Re: [Patch] Adding examples to the man pages

2005-03-19 Thread Dr. David Alan Gilbert
* Paul Eggert ([EMAIL PROTECTED]) 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