Anonymous user
Arithmetic/Integer: Difference between revisions
The ash shell does not have arithmetic expansion
m (→{{header|Efene}}: whitespace) |
(The ash shell does not have arithmetic expansion) |
||
Line 1,557:
{{works with|Bourne shell}}
{{works with|Almquist SHell}}▼
<lang
read a; read b;
echo "a+b = " `expr $a + $b`
Line 1,569 ⟶ 1,570:
With SUSv3 parameter expansions:
▲{{works with|Almquist SHell}}
{{works with|Bourne Again SHell|3.2}}
{{works with|Korn SHell|5.2.14}}
|