[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [coreutils] coreutils-7.0 expr exposes long-standing bug in matlab s
From: |
Pádraig Brady |
Subject: |
Re: [coreutils] coreutils-7.0 expr exposes long-standing bug in matlab startup script |
Date: |
Tue, 14 Oct 2008 10:47:23 +0100 |
User-agent: |
Thunderbird 2.0.0.6 (X11/20071008) |
Nelson H. F. Beebe wrote:
> I've just filed a bug report with The Mathworks, vendor of the
> widely-used Matlab matrix algebra system. Their bin/matlab startup
> script (all versions up to current) contains code like this:
>
> if [ `expr "$lscmd" : '.*->.*'` -ne 0 ]; then
>
> With native versions of expr, and expr from GNU coreutils prior to
> version 7.0, the expansion of lscmd usually begins "-rw-r--r--", but
> the leading hyphen does not cause the word to be treated as an option.
I think that was an unintended change introduced when adding getopt to expr:
http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=f65cafd67b33009d23f940968bbe7f9a08d6fe13
Pádraig.
- [coreutils] coreutils-7.0 expr exposes long-standing bug in matlab startup script, Nelson H. F. Beebe, 2008/10/13
- Re: [coreutils] coreutils-7.0 expr exposes long-standing bug in matlab startup script, Bob Proulx, 2008/10/13
- Re: [coreutils] coreutils-7.0 expr exposes long-standing bug in matlab startup script,
Pádraig Brady <=
- Re: [coreutils] coreutils-7.0 expr exposes long-standing bug in matlab startup script, Paul Eggert, 2008/10/15
- Re: [coreutils] coreutils-7.0 expr exposes long-standing bug in matlab startup script, Jim Meyering, 2008/10/15
- Re: [coreutils] coreutils-7.0 expr exposes long-standing bug in matlab startup script, Pádraig Brady, 2008/10/15
- Re: [coreutils] coreutils-7.0 expr exposes long-standing bug in matlab startup script, Jim Meyering, 2008/10/15
- [PATCH] Add option processing tests for 'expr', Pádraig Brady, 2008/10/15
- Re: [PATCH] Add option processing tests for 'expr', Jim Meyering, 2008/10/15
- Re: [PATCH] Add option processing tests for 'expr', James Youngman, 2008/10/19
Re: [coreutils] coreutils-7.0 expr exposes long-standing bug in matlab startup script, Jim Meyering, 2008/10/15