[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: read builtin oddity/bug in bash 3.2?
From: |
Chet Ramey |
Subject: |
Re: read builtin oddity/bug in bash 3.2? |
Date: |
Thu, 26 Oct 2006 17:51:08 -0400 |
User-agent: |
Thunderbird 1.5.0.7 (Macintosh/20060909) |
Daniel Musgrave wrote:
> I have found a seeming inconsistency with the behavior of the read
> builtin of bash (3.2.0(1)-release, also tested in 3.00.15(1)-release).
> I'm working on a Centos 4.4 system (RedHat derivative). Let me describe
> the conditions that cause the bug in as much detail as I have discovered
> thus far.
There are a couple of things that might shed light on your situation.
First, [w] is a globbing pattern that matches `w'. Second, /usr/bin/w
exists as an executable file.
So, in /usr/bin, [w] will be globbed to `w', since there is a matching
filename.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
Live Strong. No day but today.
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/