bug-coreutils
[Top][All Lists]
Advanced

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

Re: expr


From: Steven Augart
Subject: Re: expr
Date: Tue, 30 Dec 2003 19:14:14 -0500

Because your shell is expanding the "*" character into a list of all the 
files in your current working directory.  You probably want to try:
        expr 60 \* 60

--Steve Augart





Screams <address@hidden>
Sent by: address@hidden
12/30/2003 05:01 PM
 
        To:     address@hidden
        cc: 
        Subject:        expr


Hello.  I am running Red Hat 9.0  2.4.20-8.  When I run expr 60 + 60 the 
result is 120.
When I run expr 60 * 60 I get expr: syntax error.  When I run expr 60 - 
50 the result is 10.
When I run expr 60 / 10 the result is 6.  When I run expr 60 + 60 the 
result is 120.

I don't know why the mutiply comes up with an error.

Thanks Scott



_______________________________________________
Bug-coreutils mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/bug-coreutils



reply via email to

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