Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14962 > unrolled thread

Re: bug in dirname loadable?

Started byChet Ramey <chet.ramey@case.edu>
First post2018-12-26 12:35 -0500
Last post2018-12-26 12:35 -0500
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: bug in dirname loadable? Chet Ramey <chet.ramey@case.edu> - 2018-12-26 12:35 -0500

#14962 — Re: bug in dirname loadable?

FromChet Ramey <chet.ramey@case.edu>
Date2018-12-26 12:35 -0500
SubjectRe: bug in dirname loadable?
Message-ID<mailman.6322.1545845740.1284.bug-bash@gnu.org>
On 12/24/18 10:35 PM, Peng Yu wrote:
> dirname loadable gives the following error. I think the coreutils'
> direname's convention is better. Should it be considered as a bug to
> fix?
> 
> $ dirname -- -a
> dirname: usage: dirname string
> $(type -P dirname) -- -a
> .

Yes, dirname should skip over a `--' denoting the end of options. Thanks
for the report.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web