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

2021-09-19 Thread Paul Eggert
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#50691: pwd: options with "--" (multiple dashes) return bad option

2021-09-19 Thread william
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 > > > >

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

2021-09-19 Thread L A Walsh
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

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

2021-09-19 Thread william
coreutils version 8.32 The commands pwd --version and pwd --help return pwd: bad option: -v pwd: bad option: -h

bug#34447: `pwd` doesn't show real working directory if directory is renamed by another session

2019-02-22 Thread Bob Proulx
tag 34447 + notabug close 34447 thanks Hello Chris, Chris Wright wrote: > I found that if a session's working directory is renamed or moved, > `pwd` doesn't show the real working directory. Thank you for your bug report. However I think the shell's built-in pwd is being confused with the

bug#34447: `pwd` doesn't show real working directory if directory is renamed by another session

2019-02-11 Thread Chris Wright
Hi, I found that if a session's working directory is renamed or moved, `pwd` doesn't show the real working directory. Example: Session 1: ``` ~/ $ mkdir test ~/ $ cd test ~/test $ touch file ``` Session 2: ``` ~/ $ mv test test_2 ~/ $ mkdir test ~/ $ cd test ~/ $ touch file2 ~/ $ ls file2

bug#20679: A bug of pwd

2015-05-31 Thread Bernhard Voelker
On 05/31/2015 04:35 AM, Bob Proulx wrote: Bernhard Voelker wrote: First of all, I want to mention that the invoked 'pwd' is a builtin in most shells, which means you have to e.g. specify the path like /bin/pwd to be sure to invoke the coreutils version of it. A very, very small comment.

bug#20679: A bug of pwd

2015-05-30 Thread Bob Proulx
Bernhard Voelker wrote: First of all, I want to mention that the invoked 'pwd' is a builtin in most shells, which means you have to e.g. specify the path like /bin/pwd to be sure to invoke the coreutils version of it. A very, very small comment. This is all true but the wording makes it sound

bug#20679: A bug of pwd

2015-05-28 Thread Bernhard Voelker
tag 20679 notabug close 20679 stop On 05/28/2015 06:08 AM, 徐兴旺 wrote: If the name of current diretory including blank, pwd return raw blank istead of escaping character, \ . When used with cp command, the directory name will be recognized two params. If I understand correctly, then you have

bug#20679: A bug of pwd

2015-05-27 Thread 徐兴旺
If the name of current diretory including blank, pwd return raw blank istead of escaping character, \ . When used with cp command, the directory name will be recognized two params.

Re: Some bug in 'pwd' command

2006-05-01 Thread Olga Garber
-coreutils@gnu.org Sent: Friday, April 28, 2006 11:54 PM Subject: Re: Some bug in 'pwd' command Hello, When the parent directory name contains {} pwd fails to detect location. For example: [EMAIL PROTECTED] ~/tmp]$ cd /home/olgag/tmp/test\ bug\ [EMAIL PROTECTED

Some bug in 'pwd' command

2006-04-28 Thread Olga Garber
Hello, When the parent directory name contains {} pwd fails to detect location. For example: [EMAIL PROTECTED] ~/tmp]$ cd /home/olgag/tmp/test\ bug\ [EMAIL PROTECTED] #\$%^\\*\(\)_+\|}\{\[]\ \:\?\\/conserver-8.1.14 [EMAIL PROTECTED] conserver-8.1.14]$ pwd Missing }. Best Regards, Olga

Re: Some bug in 'pwd' command

2006-04-28 Thread Eric Blake
Hello, When the parent directory name contains {} pwd fails to detect location. For example: [EMAIL PROTECTED] ~/tmp]$ cd /home/olgag/tmp/test\ bug\ [EMAIL PROTECTED] #\$%^\\*\(\)_+\|}\{\[]\ \:\?\\/conserver-8.1.14 [EMAIL PROTECTED] conserver-8.1.14]$ pwd Missing }. Thanks for the

Re: bug in pwd on Mandrake Linux 9.2

2005-03-05 Thread Bob Proulx
here. Please refer to your shell's documentation for details about the options it supports. Basically just a pointer. But what else is there to say? Re your question: I got the version number from the man page for pwd. It said it was GNU pwd and gave bug-coreutils@gnu.org as the contact

bug in pwd on Mandrake Linux 9.2

2005-03-04 Thread Seán McGarraghy
Hi, I am running Mandrake Linux 9.2, the version of pwd is pwd 5.0 March 2003 I found the following behaviour (running as root at the command line) [EMAIL PROTECTED] linux32]# pwd /usr/local/lindoapi/bin/linux32 [EMAIL PROTECTED] linux32]# mv ../../../lindoapi ../../../lindoapi3.0 [EMAIL

Re: Bug in pwd

2005-02-16 Thread James Youngman
On Wed, Feb 16, 2005 at 06:47:26AM -0700, Eric Blake wrote: Furthermore, POSIX requires that when -P is specified, that $PWD be updated in the calling environment to scrub all symlinks from the environment variable that were previously set by a `cd -L' command. I see no possible way to

Re: Bug in pwd

2005-02-16 Thread Jim Meyering
Eric Blake [EMAIL PROTECTED] wrote: POSIX now requires pwd(1) to support -L and -P, that -L is the default, and that -L reads $PWD to verify that it is a name (possibly with symbolic links) of the current directory. Coreutils pwd currently implements none of this, and behaves as though -P is