[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug in dirname loadable?
From: |
Chet Ramey |
Subject: |
Re: bug in dirname loadable? |
Date: |
Wed, 26 Dec 2018 12:35:31 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
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/