Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #14962
| From | Chet Ramey <chet.ramey@case.edu> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Re: bug in dirname loadable? |
| Date | 2018-12-26 12:35 -0500 |
| Organization | ITS, Case Western Reserve University |
| Message-ID | <mailman.6322.1545845740.1284.bug-bash@gnu.org> (permalink) |
| References | <CABrM6wmOxFYgi=aH5b4sSCVBSDQN54hp98hmhPrRKL3Swm0HHg@mail.gmail.com> |
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/
Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread
Re: bug in dirname loadable? Chet Ramey <chet.ramey@case.edu> - 2018-12-26 12:35 -0500
csiph-web