[Bug 609146] Re: /usr/bin/which and /usr/bin/xargs do not find commands in $HOME/bin

2013-07-29 Thread Petr Gladkikh
And by the way workaround replacing ~ with $PATH helps in my case. But nonetheless I believe that behavior of 'which' should be consistent with shell's lookup. It is hard to believe that this problem have not be noted before. If this is some known issue, can anyone point to explanation why it is n

[Bug 609146] Re: /usr/bin/which and /usr/bin/xargs do not find commands in $HOME/bin

2013-07-29 Thread Petr Gladkikh
This bug affects me. which does not find any programs in dirs starting with '~' however bash starts them with no problem. Ubuntu release : "Ubuntu 13.04" uname -a : Linux the-host 3.8.0-26-generic #38-Ubuntu SMP Mon Jun 17 21:43:33 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux My $PATH: /home/petr/bin

[Bug 609146] Re: /usr/bin/which and /usr/bin/xargs do not find commands in $HOME/bin

2012-04-23 Thread Launchpad Bug Tracker
[Expired for debianutils (Ubuntu) because there has been no activity for 60 days.] ** Changed in: debianutils (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bug

[Bug 609146] Re: /usr/bin/which and /usr/bin/xargs do not find commands in $HOME/bin

2012-02-23 Thread Maarten Bezemer
Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner. There have been many changes in Ubuntu since that time you reported the bug and your problem seems to have been f

[Bug 609146] Re: /usr/bin/which and /usr/bin/xargs do not find commands in $HOME/bin

2010-08-19 Thread The Gavitron
edit: in the above comment, I singularly reference tab-completion as broken, when in fact /usr/bin/which and /usr/bin/xargs are also failing for me when using tilde expansion. I still blame the /etc/bash_completion cruft, but I probably can't hang it all at the feet of ubuntu. -- /usr/bin/which

[Bug 609146] Re: /usr/bin/which and /usr/bin/xargs do not find commands in $HOME/bin

2010-08-19 Thread The Gavitron
Had the same issue in Latest Stable Lucid, and comment #7 was the problem and fix. PATH=~/bin:$PATH fails, but PATH=$HOME/bin:$PATH works. Changed bug status to "confirmed" since a) I can confirm the behavior b) http://www.faqs.org/docs/bashman/bashref_28.html suggests this should behave ot

[Bug 609146] Re: /usr/bin/which and /usr/bin/xargs do not find commands in $HOME/bin

2010-07-28 Thread Dustin Kirkland
Thanks for the followup! ** Changed in: debianutils (Ubuntu) Status: New => Invalid -- /usr/bin/which and /usr/bin/xargs do not find commands in $HOME/bin https://bugs.launchpad.net/bugs/609146 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed

[Bug 609146] Re: /usr/bin/which and /usr/bin/xargs do not find commands in $HOME/bin

2010-07-27 Thread Georg
OK, I found the culprit... seems as if my .profile included a line PATH=~/bin:$PATH I replaced that with PATH=$HOME/bin:"${PATH}" and now it works -- /usr/bin/which and /usr/bin/xargs do not find commands in $HOME/bin https://bugs.launchpad.net/bugs/609146 You received this bug notification b

[Bug 609146] Re: /usr/bin/which and /usr/bin/xargs do not find commands in $HOME/bin

2010-07-27 Thread Georg
So my reasoning would be that an xterm is not a login shell, and therefore .bash_profile is not being executed. My .bash_profile is attached, and I modify the path in there. What I'm wondering is why it worked until a few days/weeks back and suddenly stopped working? As a workaround, I tried to cr

[Bug 609146] Re: /usr/bin/which and /usr/bin/xargs do not find commands in $HOME/bin

2010-07-27 Thread Georg
** Attachment added: ".bash_profile" http://launchpadlibrarian.net/52610565/.bash_profile -- /usr/bin/which and /usr/bin/xargs do not find commands in $HOME/bin https://bugs.launchpad.net/bugs/609146 You received this bug notification because you are a member of Ubuntu Bugs, which is subscrib

[Bug 609146] Re: /usr/bin/which and /usr/bin/xargs do not find commands in $HOME/bin

2010-07-27 Thread Georg
So in my .bash_profile, PATH is set as follows: # set PATH so it includes user's private bin if it exists if [ -d $HOME/bin ] ; then PATH=$HOME/bin:"${PATH}" fi In an xterm/uxterm/gnome-terminal session, this results in a PATH set to $ set | grep ^PATH= PATH='~/bin:/usr/local/sbin:/usr/local

Re: [Bug 609146] Re: /usr/bin/which and /usr/bin/xargs do not find commands in $HOME/bin

2010-07-27 Thread Dustin Kirkland
What if you replace the "~" with "$HOME" in your $PATH? -- /usr/bin/which and /usr/bin/xargs do not find commands in $HOME/bin https://bugs.launchpad.net/bugs/609146 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing

[Bug 609146] Re: /usr/bin/which and /usr/bin/xargs do not find commands in $HOME/bin

2010-07-23 Thread Georg
Another strange thing is that which works in a non-X terminal (by switching to a text-mode console via Ctrl-Alt-F1). When I use which there, it works, but both in uxterm and GNOME Terminal I don't get the correct output. -- /usr/bin/which and /usr/bin/xargs do not find commands in $HOME/bin https

[Bug 609146] Re: /usr/bin/which and /usr/bin/xargs do not find commands in $HOME/bin

2010-07-23 Thread Georg
** Attachment added: "Dependencies.txt" http://launchpadlibrarian.net/52366966/Dependencies.txt -- /usr/bin/which and /usr/bin/xargs do not find commands in $HOME/bin https://bugs.launchpad.net/bugs/609146 You received this bug notification because you are a member of Ubuntu Bugs, which is su