Debian Codegraph @

testsuite/modulefiles/loc_sym/version10

raw
1 #%Module1.0
2
3 ##############################################################################
4 # Modules Revision 3.0
5 # Providing a flexible user environment
6 #
7 # File: loc_sym/%M%
8 # Revision: %I%
9 # First Edition: 95/12/06
10 # Last Mod.: %U%, %G%
11 #
12 # Authors: Jens Hamisch, [email protected]
13 #
14 # Description: Testuite modulefile
15 # Command:
16 # Sub-Command: module-alias, module-version, setenv, module-info symbols
17 #
18 # Invocation: load @M@/@V@
19 # Result: %R{
20 # setenv _LMFILES_ ${_LMFILES_}:@M@/@V@
21 # setenv LOADEDMODULES ${LOADEDMODULES}:@P@/@M@/@V@
22 # setenv testsuite 2.0:default:cur:best:abc:xyz:blah:bar:foo
23 # }R%
24 # Comment: %C{
25 # Looks up symbolic version names for a given module
26 # file. In this case the real version name is specified
27 # on lookup invocation.
28 # The symbolic versions are defined using combinations
29 # module-versions and module-aliases.
30 # }C%
31 #
32 ##############################################################################
33
34 # This should result in
35 # 'setenv testuite 2.0:default:cur:best:abc:xyz:blah:bar:foo'
36
37 module-alias myone loc_sym
38 module-version loc_sym/1.0 foo bar blah
39 module-version loc_sym/2.0 xyz abc best
40 module-version myone cur
41 module-version /1.0 2.0
42 module-version /2.0 default
43
44 setenv testsuite [module-info symbols loc_sym/1.0]