mirror of
https://github.com/envmodules/modules.git
synced 2026-06-03 00:33:18 +08:00
22 lines
761 B
Plaintext
22 lines
761 B
Plaintext
#%Module######################################################################
|
|
##
|
|
## GNU Module
|
|
##
|
|
proc ModulesHelp { } {
|
|
puts stderr "\tGNU Software\n"
|
|
puts stderr "\tThe GNU software package contains a variety of UNIX programs like cp, ls, rm, etc. It also contains more powerful tools like tar, and emacs."
|
|
puts stderr "\tBe advised that if you have this module loaded before the 'system' module, that you will be using the GNU versions of common UNIX commands."
|
|
puts stderr "\tWebsite: http://www.gnu.org/"
|
|
}
|
|
|
|
set sys [uname sysname]
|
|
set os [uname release]
|
|
|
|
if { [file isdirectory /opt/gnu] } {
|
|
append-path PATH /opt/gnu/bin
|
|
append-path MANPATH /opt/gnu/man
|
|
}
|
|
#
|
|
# end of main switch statement
|
|
#
|