Configuration Information [Automatically generated, do not change]:
Machine: i586
OS: linux-gnu
Compiler: gcc -I/usr/src/packages/BUILD/bash-4.1
-L/usr/src/packages/BUILD/bash-4.1/../readline-6.1
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i586'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYP
On Jun 20, 2009, at 3:47 PM, Bob Proulx wrote:
> Matthew Strax-Haber wrote:
>> I think I may have found a bug in BASH 3.2.17(1)-release on a mac.
>
> I am not sure it is a bug but it does seem ood.
Perhaps it is not a bug, but if it is not then the documentation is
inconsistent with the behavio
Matthew Strax-Haber writes:
> Perhaps it is not a bug, but if it is not then the documentation is
> inconsistent with the behavior.
There is no inconsistency. In the first example you define a function
with the name `clear', in the second example you define a function with
the name `c'. Surel
On 2/25/10 2:05 AM, Matthew Strax-Haber wrote:
>>> Below is a simple demonstration of the unexpected behavior:
>>>
>>> SHELL 1:
>>> mattsh$ alias c=clear
>>> mattsh$ c () { echo foo; }
>>> mattsh$ clear
>>> foo
>>
>> Here c is the first word. So it is replaced by the alias. (I didn't
>> know thi