GNU bug report logs - #50691
pwd: options with "--" (multiple dashes) return bad option

Previous Next

Package: coreutils;

Reported by: william <william <at> parabolas.xyz>

Date: Mon, 20 Sep 2021 00:26:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 50691 in the body.
You can then email your comments to 50691 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#50691; Package coreutils. (Mon, 20 Sep 2021 00:26:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to william <william <at> parabolas.xyz>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Mon, 20 Sep 2021 00:26:01 GMT) Full text and rfc822 format available.

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

From: william <william <at> parabolas.xyz>
To: bug-coreutils <at> gnu.org
Subject: pwd: options with "--" (multiple dashes) return bad option
Date: Sun, 19 Sep 2021 16:09:49 -0700
coreutils version 8.32

The commands

    pwd --version

and

    pwd --help

return

    pwd: bad option: -v
    pwd: bad option: -h




Information forwarded to bug-coreutils <at> gnu.org:
bug#50691; Package coreutils. (Mon, 20 Sep 2021 01:07:01 GMT) Full text and rfc822 format available.

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

From: L A Walsh <coreutils <at> tlinx.org>
To: william <william <at> parabolas.xyz>, Coreutils <bug-coreutils <at> gnu.org>
Cc: 50691 <at> debbugs.gnu.org
Subject: Re: bug#50691: pwd: options with "--" (multiple dashes) return bad
 option
Date: Sun, 19 Sep 2021 18:05:45 -0700
Try 'command pwd --version'

On 2021/09/19 16:09, william wrote:
> coreutils version 8.32
>
> The commands
>
>     pwd --version
>
> and
>
>     pwd --help
>
> return
>
>     pwd: bad option: -v
>     pwd: bad option: -h
>
>
>




Information forwarded to bug-coreutils <at> gnu.org:
bug#50691; Package coreutils. (Mon, 20 Sep 2021 01:08:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-coreutils <at> gnu.org:
bug#50691; Package coreutils. (Mon, 20 Sep 2021 01:41:02 GMT) Full text and rfc822 format available.

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

From: william <william <at> parabolas.xyz>
To: L A Walsh <coreutils <at> tlinx.org>
Cc: Coreutils <bug-coreutils <at> gnu.org>, 50691 <at> debbugs.gnu.org
Subject: Re: bug#50691: pwd: options with "--" (multiple dashes) return bad
 option
Date: Sun, 19 Sep 2021 18:22:20 -0700
That does the trick. Do you know why command is necessary for it to recognize the option?

On 21/09/19 06:05PM, L A Walsh wrote:
> Try 'command pwd --version'
> 
> On 2021/09/19 16:09, william wrote:
> > coreutils version 8.32
> > 
> > The commands
> > 
> >     pwd --version
> > 
> > and
> > 
> >     pwd --help
> > 
> > return
> > 
> >     pwd: bad option: -v
> >     pwd: bad option: -h
> > 
> > 
> > 




Information forwarded to bug-coreutils <at> gnu.org:
bug#50691; Package coreutils. (Mon, 20 Sep 2021 01:41:02 GMT) Full text and rfc822 format available.

Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Mon, 20 Sep 2021 02:08:01 GMT) Full text and rfc822 format available.

Notification sent to william <william <at> parabolas.xyz>:
bug acknowledged by developer. (Mon, 20 Sep 2021 02:08:01 GMT) Full text and rfc822 format available.

Message #22 received at 50691-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: william <william <at> parabolas.xyz>, L A Walsh <coreutils <at> tlinx.org>
Cc: 50691-done <at> debbugs.gnu.org
Subject: Re: bug#50691: pwd: options with "--" (multiple dashes) return bad
 option
Date: Sun, 19 Sep 2021 19:07:00 -0700
On 9/19/21 6:22 PM, william wrote:
> Do you know why command is necessary for it to recognize the option?

Without 'command', you're using the builtin shell command rather than 
coreutils pwd.

Closing the bug report, as this isn't a coreutils bug.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 18 Oct 2021 11:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 303 days ago.

Previous Next


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