This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Wed, Mar 26, 2014 at 8:38 PM, Andrey Repin wrote: > Greetings, Robert Klemme! > >> C:\Users\rklemme>C:\cygwin64\bin\bash.exe -i -x -c exit >bash-log.txt 2>&1 > >> First line that contains PATH looks like this: > >> ++ PATH='/cygdrive/c/PROGRAM FILES (X86)/NVIDIA >> CORPORATION/PHYSX/COMMON:/cygdrive/c/PROGRAM FILES (X86)/INTEL/ICLS >> CLIENT:/cygdrive/c/PROGRAM FILES/INTEL/ICLS CLIENT:/cygdrive/c/PROGRAM >> FILES (X86)/RSA SECURID TOKEN COMMON:/cygdrive/c/PROGRAM FILES/COMMON >> FILES/MICROSOFT SHARED/WINDOWS LIVE:/cygdrive/c/PROGRAM FILES >> (X86)/COMMON FILES/MICROSOFT SHARED/WINDOWS >> LIVE:/cygdrive/c/Windows/SYSTEM32:/cygdrive/c/Windows:/cygdrive/c/Windows/SYSTEM32/WBEM:/cygdrive/c/Windows/SYSTEM32/WINDOWSPOWERSHELL/V1.0:/cygdrive/c/PROGRAM >> FILES/DELL/DELL DATA PROTECTION/ACCESS/ADVANCED/WAVE/GEMALTO/ACCESS >> CLIENT/V5:/cygdrive/c/PROGRAM FILES (X86)/NTRU CRYPTOSYSTEMS/NTRU TCG >> SOFTWARE STACK/BIN:/cygdrive/c/PROGRAM FILES/NTRU CRYPTOSYSTEMS/NTRU >> TCG SOFTWARE STACK/BIN:/cygdrive/c/PROGRAM FILES (X86)/WINDOWS >> LIVE/SHARED:/cygdrive/c/PROGRAM FILES/INTEL/INTEL(R) MANAGEMENT ENGINE >> COMPONENTS/DAL:/cygdrive/c/PROGRAM FILES/INTEL/INTEL(R) MANAGEMENT >> ENGINE COMPONENTS/IPT:/cygdrive/c/PROGRAM FILES (X86)/INTEL/INTEL(R) >> MANAGEMENT ENGINE COMPONENTS/DAL:/cygdrive/c/PROGRAM FILES >> (X86)/INTEL/INTEL(R) MANAGEMENT ENGINE >> COMPONENTS/IPT:/cygdrive/c/Program Files/WIDCOMM/Bluetooth >> Software:/cygdrive/c/Program Files/WIDCOMM/Bluetooth >> Software/syswow64:/cygdrive/c/Program Files (x86)/Intel/OpenCL >> SDK/2.0/bin/x86:/cygdrive/c/Program Files (x86)/Intel/OpenCL >> SDK/2.0/bin/x64:/cygdrive/c/Program Files/Intel/Intel(R) Management >> Engine Components/DAL:/cygdrive/c/Program Files/Intel/Intel(R) >> Management Engine Components/IPT:/cygdrive/c/Program Files >> (x86)/Intel/Intel(R) Management Engine >> Components/DAL:/cygdrive/c/Program Files (x86)/Intel/Intel(R) >> Management Engine Components/IPT:/cygdrive/c/Program >> Files/Intel/WiFi/bin:/cygdrive/c/Program Files/Common >> Files/Intel/WirelessCommon:/cygdrive/c/Users/rklemme/Applications/SysinternalsSuite:.:/sbin:/usr/sbin:/usr/local/sbin' > >> You can spot the dot after "SysinternalsSuite". > > This is very strange. I notice that the output of line 174 that I quoted at the top is misleading because this sits inside a bash function. Weird that set -x will lead to output as if the line was actually executed... > Standard bash startup scripts insert Cygwin dirs before > windows PATH, and they do not add sbin to it. Well, they do use sbin: $ fgrep -wrn sbin /etc/profile* /etc/bash* /etc/bash_completion:174: PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin type $1 &>/dev/null && /etc/bash_completion:715: local PATH="$PATH:/sbin:/usr/sbin" /etc/bash_completion:783: COMPREPLY=( $( eval PATH="$PATH:/sbin" $cmd 2>/dev/null | \ /etc/bash_completion:977: COMPREPLY=( $( compgen -W "$( PATH="$PATH:/sbin" lsmod | \ /etc/bash_completion:1144: "$( PATH="$PATH:/sbin" lspci -n | awk '{print $3}')" -- "$cur" ) ) /etc/bash_completion:1152: "$( PATH="$PATH:/sbin" lsusb | awk '{print $6}' )" -- "$cur" ) ) /etc/bash_completion:1528: local PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin /etc/bash_completion.d/module-init-tools:45: COMPREPLY=( $( compgen -W "$( /sbin/modinfo -p ${COMP_WORDS[1]} | \ /etc/bash_completion.d/postfix:65: for pval in $( /usr/sbin/postconf -m ); do /etc/bash_completion.d/postfix:155: for pval in $( /usr/sbin/postconf 2>/dev/null | cut -d ' ' -f 1 ); do /etc/bash_completion.d/ssh:9: "$( PATH="$PATH:/sbin" ifconfig -a | \ /etc/bash_completion.d/sysctl:12: "$( PATH="$PATH:/sbin" sysctl -N -a 2>/dev/null )" -- "$cur" ) ) /etc/bash_completion.d/wol:17: COMPREPLY=( $( PATH=$PATH:/sbin ifconfig -a 2>/dev/null | \ > This is definitely a hand work of yours or someone else. I am not sure what you are trying to insinuate here. I did not modify /etc/profile, nor did I modify /etc/bash_completion (which is the source of the line you quote above) or any other of the system shell initialization files in /etc. For your convenience I have attached the output of C:\cygwin64\bin\bash.exe -i -x -c exit >bash-log-2.txt 2>&1 Please also note that the dot appears even with all rc files switched off (see earlier messages) - but only for bash. Regards robert -- [guy, jim].each {|him| remember.him do |as, often| as.you_can - without end} http://blog.rubybestpractices.com/
Attachment:
bash-log-2.txt
Description: Text document
-- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |