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 <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
12/30/2003 05:01 PM
To: [EMAIL PROTECTED]
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
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils
_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils