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 [email protected] http://tiswww.cwru.edu/~chet/