1#%Module1.0 2 3############################################################################## 4# Modules Revision 3.0 5# Providing a flexible user environment 6# 7# File: trace/%M% 8# Revision: %I% 9# First Edition: 95/12/06 10# Last Mod.: %U%, %G% 11# 12# Authors: Jens Hamisch, Jens.Hamisch@Strawberry.COM 13# 14# Description: Testuite modulefile 15# Command: 16# Sub-Command: module-trace 17# 18# Invocation: load @M@/@V@ @M@/disp_trac 19# Result: %R{ 20# setenv _LMFILES_ ${_LMFILES_}:@M@/@V@:@M@/disp_trac 21# setenv LOADEDMODULES ${LOADEDMODULES}:@P@/@M@/@V@:@P@/@M@/disp_trac 22# setenv trace_purge -.*; 23# setenv trace_unload -.*; 24# setenv trace_list -.*; 25# setenv trace_init -.*; 26# setenv trace_avail -.*; 27# setenv trace_use -.*; 28# setenv trace_display -.*; 29# setenv trace_load -[^/]*/3\.4:+[^/]*/2\.0:-.*; 30# setenv trace_load -.*; 31# setenv trace_unuse -.*; 32# setenv trace_help -.*; 33# setenv trace_switch -.*; 34# setenv trace_update -.*; 35# setenv trace_clear -.*; 36# }R% 37# Comment: %C{ 38# Switch tracing of the command 'load' on for the 39# modulefiles */2.0. and off for the modulefiles 40# */3.4. 41# }C% 42# 43############################################################################## 44 45module-trace on load -module \[^/\]*/2\\.0 46module-trace off load -module \[^/\]*/3\\.4 47