mirror of
https://github.com/envmodules/modules.git
synced 2026-06-10 00:56:30 +08:00
Modernize and simplify modulefile code examples in documentation: * Follow coding convention defined for the project * Use simple "#%Module" file signature, no "1.0" suffix needed
20 lines
329 B
Plaintext
20 lines
329 B
Plaintext
#%Module
|
|
##
|
|
## foo
|
|
|
|
proc ModulesHelp { } {
|
|
puts stderr "
|
|
FooA: A simple example of modulefile code reuse
|
|
Version 1.0
|
|
|
|
blah, blah, blah
|
|
"
|
|
}
|
|
module-whatis "foo version 1.0"
|
|
|
|
conflict foo
|
|
prepend-path PATH /software/foo/1.0/bin
|
|
prepend-path MANPATH /software/foo/1.0/share/man
|
|
prepend-path LD_LIBRARY_PATH /software/foo/1.0/lib
|
|
|