[PATCH 02/14] Add a note about portability of environment variable

[email protected] Mon, 25 Jan 2021 10:40:27 +0000
Newsgroups gmane.linux.debian.internationalization.english
Message-ID <[email protected]>
From: Bastien Roucariès <[email protected]>

Some variables are portable at least under UNIX

Signed-off-by: Bastien Roucariès <[email protected]>
---
 man7/environ.7 | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/man7/environ.7 b/man7/environ.7
index 7d6318c1a..fe220cc03 100644
--- a/man7/environ.7
+++ b/man7/environ.7
@@ -242,6 +242,16 @@ tell applications about the window size, possibly overriding the actual size.
 may specify the desired printer to use.
 See
 .BR lpr (1).
+.SH CONFORMING TO
+The variables
+.B HOME
+.B LOGNAME,
+.B PATH,
+.B PWD,
+.B SHELL
+are specified by
+POSIX.1-1996
+and should be reasonably portable.
 .SH NOTES
 The
 .BR prctl (2)