.bashrc problem update
Manage your shell environment variables and aliases
Brought to you by:
leomania,
xdelaruelle
From: Harlan S. <Har...@pf...> - 2002-04-12 22:34:46
|
I did a little debugging: hstenn> bash -vx # start .kshenv case "$0" in -sh|sh|*/sh) modules_shell=sh ;; -ksh|ksh|*/ksh) modules_shell=ksh ;; -bash|bash|*/bash) modules_shell=bash ;; esac + modules_shell=bash eval "module() { eval `/usr/local/Modules/\$MODULE_VERSION/bin/modulecmd $modules_shell $*`; }" /usr/local/Modules/$MODULE_VERSION/bin/modulecmd $modules_shell $* ++ /usr/local/Modules/3.1.6/bin/modulecmd bash cmdModule.c(169):ERROR:11: Usage is 'bash subcommand [arguments ...] ' Modules Release 3.1.6 (Copyright GNU GPL v2 1991): Available Commands and Usage: + add|load modulefile [modulefile ...] + rm|unload modulefile [modulefile ...] + switch|swap modulefile1 modulefile2 ... I'm using the "stock" .bashrc that came with the Modules software. This problem happens to me under bash-2.04 and 2.05a. H |