On 20/09/2020 09:49 pm, Nikolay wrote:
GNU coreutils 8.30
$ pwd --version
bash: pwd: --: invalid option
pwd: usage: pwd [-LP]
$ man pwd
...
--version
output version information and exit
Try: /bin/pwd --version
And: help pwd
Is there a difference?
--
Chris Elvidge
tag 43541 + notabug
close 43541
thanks
Nikolay wrote:
> GNU coreutils 8.30
Coreutils version 8.30. Gotcha.
> $ pwd --version
> bash: pwd: --: invalid option
> pwd: usage: pwd [-LP]
But that is not the GNU Coreutils pwd program. That is the shell
builtin pwd. In this case it is bash. And bas
GNU coreutils 8.30
$ pwd --version
bash: pwd: --: invalid option
pwd: usage: pwd [-LP]
$ man pwd
...
--version
output version information and exit