#%Module1.0

##############################################################################
#   Modules Revision 3.0
#   Providing a flexible user environment
#
#   File:		loc_sym/%M%
#   Revision:		%I%
#   First Edition:	2018/01/09
#   Last Mod.:		%U%, %G%
#
#   Authors:		Xavier Delaruelle, xavier.delaruelle@cea.fr
#
#   Description:	Testuite modulefile
#   Command:
#   Sub-Command:	module-alias, module-version, setenv, module-info symbols
#                   module-virtual
#
#   Invocation:		load @M@/@V@
#   Result:	%R{
#		}R%
#   Comment:	%C{
#			Looks up symbolic version names for a given module
#			file. In this case the real version name is specified
#			on lookup invocation.
#			The symbolic versions are defined using combinations
#			module-versions and module-aliases.
#			Working on virtual modules.
#		}C%
#
##############################################################################

# This should result in
#     'setenv testuite 2.0:default:cur:best:abc:xyz:blah:bar:foo'

module-alias	myone		loc_sym
module-version	loc_sym/10	foo bar blah
module-version	loc_sym/2.0	xyz abc best
module-version	myone 		cur
module-version	/10		2.0
module-version	/2.0		default
module-virtual  loc_sym/10 .common

setenv testsuite	[module-info symbols loc_sym/10]
