1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
#%Module1.0
##############################################################################
# Modules Revision 3.0
# Providing a flexible user environment
#
# File: loc_sym/%M%
# Revision: %I%
# First Edition: 95/12/06
# Last Mod.: %U%, %G%
#
# Authors: Jens Hamisch, Jens.Hamisch@Strawberry.COM
#
# Description: Testuite modulefile
# Command:
# Sub-Command: module-version, setenv, module-info symbols
#
# Invocation: load @M@/@V@
# Result: %R{
# setenv _LMFILES_ ${_LMFILES_}:@M@/@V@
# setenv LOADEDMODULES ${LOADEDMODULES}:@P@/@M@/@V@
# setenv testsuite blah:bar:foo
# }R%
# Comment: %C{
# Looks up symbolic version names for a given module
# file. In this case the real version name is specified
# explicitly on lookup invocation.
# }C%
# Error: %E(novice){
# PROB:153: Duplicate version symbol 'foo' found
# }E%
# %E(advanced){
# PROB:153: Duplicate version symbol 'foo' found
# }E%
#
##############################################################################
module-version loc_sym/1.0 foo bar blah
module-version loc_sym/2.0 xyz abc best foo
setenv testsuite [module-info symbols loc_sym/1.0]
|