https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236559
Mark Johnston <ma...@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ma...@freebsd.org --- Comment #1 from Mark Johnston <ma...@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. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"