[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Doubt about expr
From: |
Sebastian Kreft |
Subject: |
Doubt about expr |
Date: |
Tue, 12 Sep 2006 22:51:57 -0400 |
I don't know if it is a standard of expr, but I think that is not intuitive
to write a plus symbol before the string substr if I want to get the length
of it.
I know that is in the help, but I think that this shouldn't be necessary.
I haven't seen the source code of the parsing so much, because I don't know
if this behaviour is a standard or not.
$ expr length substr
expr: syntax error
$ expr length + substr
6
Sebastián Kreft C.
- Doubt about expr,
Sebastian Kreft <=