WTF is this nonsense from bash -x ?

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

 



I'll often run a little file full of shell commands and want to
see the command followed by the output so I'll run it
like so:

bash -x ./files.txt > symbols.txt

Before fedora 28, that would result in symbols.txt showing
the commands in files.txt with a '+' in front of them
followed by the output from the command.

In fedora 28, I'm now getting 93 lines of absolute gibberish
showing up before the first command which looks like this
nonsense:

+ unset _mlre _mlIFS _mlshdbg
+ '[' 0 = 1 ']'
+ export MODULES_RUN_QUARANTINE=LD_LIBRARY_PATH
+ MODULES_RUN_QUARANTINE=LD_LIBRARY_PATH
...
+ PATH=/usr/share/Modules/bin:.:/userland/tom/scripts:/userland/tom/profile/progs/bin/amd64-lx:/userland/tom/profile/progs/bin/i86-lx:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local
+ export PATH
++ manpath
+ manpath=/usr/share/man:/usr/local/man:/usr/local/share/man:/usr/man
+ [[ ! :/usr/share/man:/usr/local/man:/usr/local/share/man:/usr/man: =~ :/usr/share/man: ]]
+ '[' -n '' ']'

What the heck is this nonsense?
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@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