bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mistake in manpage for expr


From: Vajzovic, Tom
Subject: mistake in manpage for expr
Date: Mon, 18 Dec 2006 11:26:58 -0000

Hi

The manpage I have, with the following footer:

expr 5.97     August 2006     EXPR(1)

states that `expr ARG1 - ARG2` should print the "arithmetic difference of ARG1 
and ARG2"

but I have:

address@hidden:~$ expr 5 - 7
-2

Of course, five minus seven is negative two, but the _difference_ between five 
and seven is positive two, since differences are always positive.

May I suggest you correct your manual to read:

"subtraction of ARG1 and ARG2"

or some other more appropriate word which describes the functionality of the 
program.

HTH

Tom

Tom Vajzovic
Postgraduate Researcher in Physics

This email is intended solely for the addressee.  It may contain private and 
confidential information.  If you are not the intended addressee, please take 
no action based on it nor show a copy to anyone.  In this case, please reply to 
this email to highlight the error.  Opinions and information in this email that 
do not relate to the official business of Nottingham Trent University shall be 
understood as neither given nor endorsed by the University.
Nottingham Trent University has taken steps to ensure that this email and any 
attachments are virus-free, but we do advise that the recipient should check 
that the email and its attachments are actually virus free.  This is in keeping 
with good computing practice.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]