Date: Thu, 04 Aug 2022 08:41:15 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 265624] bin/pwd default behavior according to man page like -P but is like -L Message-ID: <bug-265624-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265624 Bug ID: 265624 Summary: bin/pwd default behavior according to man page like -P but is like -L Product: Base System Version: 12.3-STABLE Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: pascalullrich@web.de FreeBSD 12.3-STABLE #1 r371380 >From man pwd: "If no options are specified, the -P option is assumed." My tests show that the -L option is assumed. [ullrich@bsd106 ~/tmp]$ ls -l total 4 drwxr-xr-x 2 ullrich ullrich 512 3 Aug. 17:13 abc lrwxr-xr-x 1 ullrich ullrich 3 3 Aug. 17:13 def -> abc [ullrich@bsd106 ~/tmp]$ cd abc [ullrich@bsd106 ~/tmp/abc]$ pwd /home/ullrich/tmp/abc [ullrich@bsd106 ~/tmp/abc]$ pwd -L /home/ullrich/tmp/abc [ullrich@bsd106 ~/tmp/abc]$ pwd -P /home/ullrich/tmp/abc [ullrich@bsd106 ~/tmp/abc]$ cd ../def [ullrich@bsd106 ~/tmp/def]$ pwd /home/ullrich/tmp/def [ullrich@bsd106 ~/tmp/def]$ pwd -L /home/ullrich/tmp/def [ullrich@bsd106 ~/tmp/def]$ pwd -P /home/ullrich/tmp/abc --=20 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-265624-227>