GNU bug report logs - #6175
dirname manpage and info page partially wrong/misleading

Previous Next

Package: coreutils;

Reported by: Filipus Klutiero <chealer <at> gmail.com>

Date: Tue, 11 May 2010 21:30:02 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


Message #23 received at 6175 <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: Eric Blake <eblake <at> redhat.com>
Cc: 6175 <at> debbugs.gnu.org, chealer <at> gmail.com
Subject: Re: bug#6175: [PATCH] dirname: tweak summary wording
Date: Tue, 08 Jun 2010 07:55:29 +0200
Eric Blake wrote:
> * doc/coreutils.texi (dirname invocation): Reword to be more
> precise.
> * src/dirname.c (usage): Likewise.
> * THANKS: Update.
> Reported by Filipus Klutiero, bug 6175.
...
> diff --git a/src/dirname.c b/src/dirname.c
> index 4f18fe9..f6997c3 100644
> --- a/src/dirname.c
> +++ b/src/dirname.c
> @@ -48,8 +48,8 @@ Usage: %s NAME\n\
>  "),
>                program_name, program_name);
>        fputs (_("\
> -Print NAME with its trailing /component removed; if NAME contains no /'s,\n\
> -output `.' (meaning the current directory).\n\
> +Print NAME with its last non-slash component and trailing slashes removed;\n\
> +if NAME contains no /'s, output `.' (meaning the current directory).\n\

Looks fine.  I know it was there in the original too,
but s/output/print/ sounds a little better.




This bug report was last modified 14 years and 42 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.