Skip to content

Commit

Permalink
doc: desc. shell special chars escaping in diff doc
Browse files Browse the repository at this point in the history
Shell special characters like backticks are escaped when used in values
starting Modules 4.

Fixes #365
  • Loading branch information
xdelaruelle committed Oct 19, 2020
1 parent eee8e87 commit 1310bb7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/source/diff_v3_v4.rst
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ On compatibility version, paths composing the :envvar:`MODULEPATH` environment v
Modules Specific Tcl Commands
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

On version 4 the characters that have a special meaning when rendered in shells are escaped when used in value to set environment variables, shell alias or shell functions. Thus it is possible to set environment elements with value containing these special characters (like backticks). On version 3 these special characters were evaluated by shell when recording the environment changes implied by modulefile evaluation.

:mfcmd:`append-path`

:mfcmd:`prepend-path`
Expand Down

0 comments on commit 1310bb7

Please sign in to comment.