bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#68866: man page description of pwd command has error I guess


From: Bernhard Voelker
Subject: bug#68866: man page description of pwd command has error I guess
Date: Thu, 1 Feb 2024 08:37:05 +0100
User-agent: Mozilla Thunderbird

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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]