Skip to content

Commit

Permalink
doc: desc. setenv diff between Modules 3.2 and 4+
Browse files Browse the repository at this point in the history
Describe the difference between Modules 3.2 and 4+ when it comes to the
arguments passed to the setenv modulefile command.

Fixes #402.
  • Loading branch information
xdelaruelle committed Jun 20, 2021
1 parent 919662c commit 2574254
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/source/diff_v3_v4.rst
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,9 @@ On version 4 the characters that have a special meaning when rendered in shells

Whereas compatibility version sets a shell function when variables are in use in alias value on Bourne shell derivatives, Modules 4 always defines a shell alias never a shell function.

:mfcmd:`setenv`

On compatibility version the :mfcmd:`setenv` modulefile command accepts any number of argument, but ignores all arguments after the first two. An error is raised on Modules 4 when more than two arguments are passed to the :mfcmd:`setenv` modulefile command.

Locating Modulefiles
^^^^^^^^^^^^^^^^^^^^
Expand Down

0 comments on commit 2574254

Please sign in to comment.