Arithmetic/Integer: Difference between revisions

m
→‎{{header|UNIX Shell}}: Turn on the color with 'lang bash', not 'lang sh'. A shell with version 5.2.14 must be pdksh.
m (→‎{{header|AWK}}: Make the comments like the other examples.)
m (→‎{{header|UNIX Shell}}: Turn on the color with 'lang bash', not 'lang sh'. A shell with version 5.2.14 must be pdksh.)
Line 1,631:
{{works with|Bourne Shell}}
{{works with|Almquist SHell}}
<lang shbash>#!/bin/sh
read a; read b;
echo "a+b = " `expr $a + $b`
Line 1,644:
 
{{works with|Bourne Again SHell|3.2}}
{{works with|Korn SHellpdksh|5.2.14}}
{{works with|Z SHell}}
<lang bash>#!/bin/sh
Anonymous user