$ expr 3.1 + 3
expr: non-numeric argument <---say "non integer argument"
$ expr 3.1 + 3b
expr: non-numeric argument
On Thu, 18 Feb 2010, jida...@jidanni.org wrote:
> $ expr 3.1 + 3
> expr: non-numeric argument <---say "non integer argument"
> $ expr 3.1 + 3b
> expr: non-numeric argument
The expr command's arithmetic only works with integers.
3.1 is not an integer, nor is 3b.
To do calculations with
> "CFAJ" == Chris F A Johnson writes:
CFAJ> On Thu, 18 Feb 2010, jida...@jidanni.org wrote:
>> $ expr 3.1 + 3
>> expr: non-numeric argument <---say "non integer argument"
>> $ expr 3.1 + 3b
>> expr: non-numeric argument
CFAJ>The expr command's arithmetic only works with integers.
Yes
CFA
On Thu, 18 Feb 2010, jida...@jidanni.org wrote:
> > "CFAJ" == Chris F A Johnson writes:
> CFAJ> On Thu, 18 Feb 2010, jida...@jidanni.org wrote:
>
> >> $ expr 3.1 + 3
> >> expr: non-numeric argument <---say "non integer argument"
> >> $ expr 3.1 + 3b
> >> expr: non-numeric argument
>
> CFAJ>
According to Chris F.A. Johnson on 2/18/2010 6:20 AM:
> On Thu, 18 Feb 2010, jida...@jidanni.org wrote:
>
>> $ expr 3.1 + 3
>> expr: non-numeric argument <---say "non integer argument"
>> $ expr 3.1 + 3b
>> expr: non-numeric argument
>
>The expr command's arithmetic only works with integers.
EB> jidanni, it would be a two-line patch to expr.c. Would you care to write
EB> such a patch, rather than just complaining?
It would be much more efficient for me to just play the role of the bug
reporter here trust me. Thanks.
On Thu, 18 Feb 2010, Eric Blake wrote:
> According to Chris F.A. Johnson on 2/18/2010 6:20 AM:
> > On Thu, 18 Feb 2010, jida...@jidanni.org wrote:
> >
> >> $ expr 3.1 + 3
> >> expr: non-numeric argument <---say "non integer argument"
> >> $ expr 3.1 + 3b
> >> expr: non-numeric argument
> >
> >
CFAJ> That'll teach me to post early in the morning!
The problem is that you live in the incorrect timezone :-|
According to jida...@jidanni.org on 2/18/2010 6:54 AM:
> EB> jidanni, it would be a two-line patch to expr.c. Would you care to write
> EB> such a patch, rather than just complaining?
>
> It would be much more efficient for me to just play the role of the bug
> reporter here trust me. Thanks.
$ diff --git
diff: unrecognized option '--git'<--see my next email coming soon.
$ dlocate src/expr.c|wc
0 0 0
Actually at one point I was much more involved.
http://article.gmane.org/gmane.comp.version-control.git/103400
However today its
bash: git: command not found
for me, as
$ diff --git
diff: unrecognized option '--git'
I think diff should say at this point "real diff, at least up to year
2010, does not have a --git option, you are probably getting that idea
from git output" or something.
Or ask those git pros for a patch to give diff a --git option, or tell
them th
$ diff --git
diff: unrecognized option '--git'
I think diff should say at this point "real diff, at least up to year
2010, does not have a --git option, you are probably getting that idea
from git output" or something.
That is what it says, though not in so many words. Having an o
AMS> That is what it says, though not in so many words. Having an option
AMS> for each VS would really be a headache (SCCS, RCS, CVS, hg, darcs,
AMS> bzr, tla, git, ...).
Well all I know is we then harangue the system administrator for not
installing the latest diff that the other guys are alread
Eric Blake wrote:
> -error (EXPR_INVALID, 0, _("non-numeric argument"));
> +error (EXPR_INVALID, 0, _("non-integer argument"));
...
> -error (EXPR_INVALID, 0, _("non-numeric argument"));
> +error (EXPR_INVALID, 0, _("non-integer argument"));
Maybe a
On 16/02/10 00:09, Pádraig Brady wrote:
+sc_option_desc_uppercase:
+ @$(MAKE) -C src $@
+ @$(MAKE) -C man $@
I've pushed with the above changed to:
@$(MAKE) -s -C src all_programs
@$(MAKE) -s -C man $@
The -s is defined by POSIX and is available
on linux/BSD/solaris at least, and makes
the
Update of bug #26512 (project coreutils):
Status:None => Fixed
Assigned to:None => pixelbeat
___
Follow-up Comment #1:
Fixed with commi
According to Voelker, Bernhard on 2/18/2010 8:31 AM:
>> -error (EXPR_INVALID, 0, _("non-numeric argument"));
>> +error (EXPR_INVALID, 0, _("non-integer argument"));
>
> Maybe a dumb question:
> Why's the error message hardcoded?
It isn't.
> Isn't there localization for th
17 matches
Mail list logo