Date: Fri, 06 Feb 2026 15:19:51 +0900 From: Simon Wollwage <rootnode+freebsd@wollwage.com> To: freebsd-questions@freebsd.org Subject: pwd default behavior Message-ID: <877bsqe6m0.fsf@x1.laptops.machines>
index | next in thread | raw e-mail
While reading the code for /bin/pwd, I noticed that the default behavior in the code is to assume -P if no arguments are supplied, but according to POSIX it shoud be -L (https://pubs.opengroup.org/onlinepubs/9799919799/utilities/pwd.html) Is it for convenience reasons or other technical reasons? Seems like an easy change to make it compliant.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?877bsqe6m0.fsf>
