From 2f541246cc63579276aad57af4affe665b1a5edb Mon Sep 17 00:00:00 2001 From: Xavier Delaruelle Date: Sun, 1 Jul 2018 17:34:39 +0200 Subject: [PATCH] doc: state in modulefile(4) getenv should be pref. over ::env --- doc/source/modulefile.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/source/modulefile.rst b/doc/source/modulefile.rst index 3c3d1761..90ebcb60 100644 --- a/doc/source/modulefile.rst +++ b/doc/source/modulefile.rst @@ -135,7 +135,9 @@ the *modulefile* is being loaded. **getenv** variable [value] Returns value of environment *variable*. If *variable* is not defined *value* - is returned if set *_UNDEFINED_* is returned elsewhere. + is returned if set *_UNDEFINED_* is returned elsewhere. **getenv** command + should be preferred over Tcl global variable **env** to query environment + variables. **append-path** [-d C|--delim C|--delim=C] [--duplicates] variable value...