This issue is fixed in Ubuntu 18.04, which is shipped with a new release
of Modules.
# module -V
Modules Release 4.1.1 (2018-02-17)
# which modulecmd
/usr/bin/modulecmd
# type _module_avail
_module_avail is a function
_module_avail ()
{
module avail -t 2>&1 | sed '
/^-\+/d; /^\s*$/d;
/->.*$/d;
/:$/d;
/:ERROR:/d;
s#^\(.*\)/\(.\+\)(.*default.*)#\1\n\1\/\2#;
s#(.*)$##g;
s#\s*$##g;
s#/*$##g;'
}
# _module_avail
dot
module-git
module-info
modules
null
use.own
dot
module-git
module-info
modules
null
use.own
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1056014
Title:
Improper reference to modulecmd in bash_completion script
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/modules/+bug/1056014/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs