mirror of
https://github.com/envmodules/modules.git
synced 2026-06-10 00:56:30 +08:00
'module' modulefile command targets module procedure on load and unload modes of modulefile evaluation. reportCmd is targeted on display mode. For other modes a nop is targeted. 'module' command is now disabled on help, test and whatis mode which stabilizes evaluation on these modes. On Modules v3, module command was also disabled on all these query evaluation modes.
29 lines
654 B
Plaintext
29 lines
654 B
Plaintext
#%Module1.0
|
|
|
|
##############################################################################
|
|
# Modules Revision 3.0
|
|
# Providing a flexible user environment
|
|
#
|
|
# File: modbad/%M%
|
|
# Revision: %I%
|
|
# First Edition: 2017/11/29
|
|
# Last Mod.: %U%, %G%
|
|
#
|
|
# Authors: Xavier Delaruelle, xavier.delaruelle@cea.fr
|
|
#
|
|
# Description: Testuite modulefile
|
|
# Command:
|
|
#
|
|
# Invocation:
|
|
# Result: %R{
|
|
# }R%
|
|
# Comment: %C{
|
|
# test behavior against a modulefile using module sub-commands
|
|
# only reachable from command line
|
|
# }C%
|
|
#
|
|
##############################################################################
|
|
|
|
module path bar
|
|
module help
|