Re: Strange output whenever "sh -xv" is used on FC31 x86_64 (rawhide)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 14 Dec 2019 at 19:41, George R Goffe via users <users@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
Hi,

I have been seeing the enclosed lines PLUS a lot more (several pages worth). Can anyone tell me which package they come from and/or how to eliminate them please?

Best regards,

George...

switchml () {  typeset swfound=1;
if [ "${MODULES_USE_COMPAT_VERSION:-0}" = '1' ]; then
typeset swname='main';
if [ -e /usr/share/Modules/libexec/modulecmd.tcl ]; then
typeset swfound=0;
unset MODULES_USE_COMPAT_VERSION;
fi;
else

This is from the environment-modules package:

Name         : environment-modules
Version      : 4.3.0
Release      : 1.fc31
Architecture : x86_64
Size         : 326 k
Source       : environment-modules-4.3.0-1.fc31.src.rpm
Repository   : fedora
Summary      : Provides dynamic modification of a user's environment
URL          : http://modules.sourceforge.net/
License      : GPLv2+
Description  : The Environment Modules package provides for the dynamic modification of
             : a user's environment via modulefiles.
             :
             : Each modulefile contains the information needed to configure the shell
             : for an application. Once the Modules package is initialized, the
             : environment can be modified on a per-module basis using the module
             : command which interprets modulefiles. Typically modulefiles instruct
             : the module command to alter or set shell environment variables such as
             : PATH, MANPATH, etc. modulefiles may be shared by many users on a system
             : and users may have their own collection to supplement or replace the
             : shared modulefiles.
             :
             : Modules can be loaded and unloaded dynamically and atomically, in an
             : clean fashion. All popular shells are supported, including bash, ksh,
             : zsh, sh, csh, tcsh, as well as some scripting languages such as perl.
             :
             : Modules are useful in managing different versions of applications.
             : Modules can also be bundled into metamodules that will load an entire
             : suite of different applications.
             :
             : NOTE: You will need to get a new shell after installing this package to
             : have access to the module alias.

I prefer Lmod:

Name         : Lmod
Version      : 8.1.17
Release      : 3.fc31
Architecture : x86_64
Size         : 1.1 M
Source       : Lmod-8.1.17-3.fc31.src.rpm
Repository   : @System
From repo    : fedora
Summary      : Environmental Modules System in Lua
URL          : https://www.tacc.utexas.edu/tacc-projects/lmod
License      : MIT and LGPLv2
Description  : Lmod is a Lua based module system that easily handles the MODULEPATH
             : Hierarchical problem.  Environment Modules provide a convenient way to
             : dynamically change the users' environment through modulefiles. This includes
             : easily adding or removing directories to the PATH environment variable.
             : Modulefiles for library packages provide environment variables that specify
             : where the library and header files can be found.

With Lmod:

$ sh -xv
ml () {  eval $($LMOD_DIR/ml_cmd "$@")
}
module () {  eval $($LMOD_CMD bash "$@") && eval $(${LMOD_SETTARG_CMD:-:} -s sh)
}
sh-5.0$
--
George N. White III

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux