GNU bug report logs - #68866
man page description of pwd command has error I guess

Previous Next

Package: coreutils;

Reported by: Seungchul Lee <lsc4719 <at> gmail.com>

Date: Thu, 1 Feb 2024 05:19:01 UTC

Severity: normal

Tags: notabug

Done: Bernhard Voelker <mail <at> bernhard-voelker.de>

Bug is archived. No further changes may be made.

Full log


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

From: Bernhard Voelker <mail <at> bernhard-voelker.de>
To: Seungchul Lee <lsc4719 <at> gmail.com>, 68866 <at> debbugs.gnu.org
Subject: Re: bug#68866: man page description of pwd command has error I guess
Date: Thu, 1 Feb 2024 08:37:05 +0100
tag 68866 notabug
close 68866
stop

On 2/1/24 04:09, Seungchul Lee wrote:
> man page description has following line,
> "If no option is specified, -P is assumed."
> But in my machine, its default behavior seems -L without any option for pwd.

'man pwd' and 'env pwd --help' also tells:

  NOTE: your shell may have its own version of pwd, which usually supersedes
  the version described here.  Please refer to your shell's documentation
  for details about the options it supports.

Are you sure that you are running pwd(1) from GNU coreutils, or that of the shell?

  $ pwd            # pwd of the shell
  /home/berny/osc

  $ env pwd        # pwd of GNU coreutils
  /media/osc

  $ /usr/bin/pwd   # pwd of GNU coreutils
  /media/osc

Have a nice day,
Berny





This bug report was last modified 1 year and 112 days ago.

Previous Next


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