Files
modules/doc/example/tips-for-code-reuse/foo/2.0
Xavier Delaruelle e072167ce3 doc: modernize modulefile code examples
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
2023-09-02 09:22:49 +02:00

20 lines
329 B
Plaintext

#%Module
##
## foo
proc ModulesHelp { } {
puts stderr "
FooA: A simple example of modulefile code reuse
Version 2.0
blah, blah, blah
"
}
module-whatis "foo version 2.0"
conflict foo
prepend-path PATH /software/foo/2.0/bin
prepend-path MANPATH /software/foo/2.0/share/man
prepend-path LD_LIBRARY_PATH /software/foo/2.0/lib