Date: Wed, 20 Mar 2019 16:13:04 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 236559] Error in the pwd man page Message-ID: <bug-236559-227-TNbZNqHQsa@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-236559-227@https.bugs.freebsd.org/bugzilla/> References: <bug-236559-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236559 Mark Johnston <markj@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |markj@FreeBSD.org --- Comment #1 from Mark Johnston <markj@FreeBSD.org> --- The code suggests otherwise: physical = 1; while ((ch = getopt(argc, argv, "LP")) != -1) switch (ch) { case 'L': physical = 0; break; case 'P': physical = 1; break; It also appears to work as documented: > mkdir foo > ln -s foo bar > cd bar > /bin/pwd /home/mark/foo > /bin/pwd -L /home/mark/bar > I suspect the problem is that the shell may provide its own pwd builtin which does indeed behave differently. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236559-227-TNbZNqHQsa>
