Issue 7, 8.3: PWD This variable shall represent an absolute pathname of the current working directory. It shall not contain any components that are dot or dot-dot. The value is set by the cd utility, and by the sh utility during initialization. Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@xxxxxxxxxxxxxxxxxx> --- There's likely a lot more in this page that is either a straight-up lie or an unfortunate omission man7/environ.7 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/man7/environ.7 b/man7/environ.7 index 019c5a25a..65f1d8da8 100644 --- a/man7/environ.7 +++ b/man7/environ.7 @@ -158,8 +158,12 @@ used by to find manual pages, and so on. .TP .B PWD -The current working directory. -Set by some shells. +Absolute path to the current working directory. +Partially canonical (no +.I . +or +.I .. +components). .TP .B SHELL The absolute pathname of the user's login shell. -- 2.30.2
Attachment:
signature.asc
Description: PGP signature