Re: Bash sometimes cannot find aliases

2010-03-30 Thread Chet Ramey
On 3/30/10 2:36 AM, Clark J. Wang wrote: > Good news: > > I met this problem again a few minutes ago. Then I looked back to find out > what I was doing. After some investigation I could stably reproduce this > problem by following steps (tested with bash 3.1.17, 3.2.39 and 4.1.0): > > bash$ alias

Re: Bash sometimes cannot find aliases

2010-03-30 Thread Clark J. Wang
On Tue, Mar 30, 2010 at 8:15 PM, Greg Wooledge wrote: > On Tue, Mar 30, 2010 at 02:36:59PM +0800, Clark J. Wang wrote: > > After some investigation I could stably reproduce this > > problem by following steps (tested with bash 3.1.17, 3.2.39 and 4.1.0): > > > > bash$ alias xx='echo 142857'###

Re: Bash sometimes cannot find aliases

2010-03-30 Thread Greg Wooledge
On Tue, Mar 30, 2010 at 02:36:59PM +0800, Clark J. Wang wrote: > After some investigation I could stably reproduce this > problem by following steps (tested with bash 3.1.17, 3.2.39 and 4.1.0): > > bash$ alias xx='echo 142857'### Make sure there isn't an external cmd > named `xx' > bash$ expor

Re: Bash sometimes cannot find aliases

2010-03-29 Thread Clark J. Wang
Bash 2.05b also reproduces this problem. On Tue, Mar 30, 2010 at 2:36 PM, Clark J. Wang wrote: > Good news: > > I met this problem again a few minutes ago. Then I looked back to find out > what I was doing. After some investigation I could stably reproduce this > problem by following steps (test

Re: Bash sometimes cannot find aliases

2010-03-29 Thread Clark J. Wang
Good news: I met this problem again a few minutes ago. Then I looked back to find out what I was doing. After some investigation I could stably reproduce this problem by following steps (tested with bash 3.1.17, 3.2.39 and 4.1.0): bash$ alias xx='echo 142857'### Make sure there isn't an exter

Re: Bash sometimes cannot find aliases

2010-01-28 Thread Clark J. Wang
On Thu, Jan 28, 2010 at 4:55 PM, Dan Zwell wrote: > Configuration Information [Automatically generated, do not change]: > Machine: x86_64 > OS: linux-gnu > Compiler: gcc > Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' > -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-unknown-li

Re: Bash sometimes cannot find aliases

2010-01-28 Thread Dan Zwell
On 01/28/2010 02:28 PM, Chet Ramey wrote: On 1/28/10 3:55 AM, Dan Zwell wrote: Bash Version: 4.1 Patch Level: 2 Release Status: release Description: When I attempt to run an alias, Bash occasionally says the command is not found. This is not a known issue. If you can provide me a way

Re: Bash sometimes cannot find aliases

2010-01-28 Thread DennisW
On Jan 28, 2:55 am, Dan Zwell wrote: > Configuration Information [Automatically generated, do not change]: > Machine: x86_64 > OS: linux-gnu > Compiler: gcc > Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' > -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-unknown-linux-gnu' > -DC

Re: Bash sometimes cannot find aliases

2010-01-28 Thread Chet Ramey
On 1/28/10 3:55 AM, Dan Zwell wrote: > Bash Version: 4.1 > Patch Level: 2 > Release Status: release > > Description: > When I attempt to run an alias, Bash occasionally says the command > is not found. Re-running the command generally succeeds. This also > occurs with aliases that are named a

Bash sometimes cannot find aliases

2010-01-28 Thread Dan Zwell
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-unknown-linux-gnu' -DCONF_VENDOR='unknown' -DLOCALEDIR='/usr/share/loca