Arithmetic/Integer: Difference between revisions
Content deleted Content added
added ocaml |
m Changed over to works with template |
||
Line 327: | Line 327: | ||
etc |
etc |
||
=={{header|Toka}}== |
=={{header|Toka}}== |
||
Line 337: | Line 336: | ||
2dup ." a/b = " / . ." remainder " mod . cr |
2dup ." a/b = " / . ." remainder " mod . cr |
||
] is mathops |
] is mathops |
||
=={{header|UNIX Shell}}== |
=={{header|UNIX Shell}}== |
||
Line 344: | Line 341: | ||
With external utilities: |
With external utilities: |
||
{{works with|Bourne shell}} |
|||
#!/bin/sh |
#!/bin/sh |
||
read a; read b; |
read a; read b; |
||
Line 357: | Line 353: | ||
With SUSv3 parameter expansions: |
With SUSv3 parameter expansions: |
||
{{works with|Almquist SHell}} |
|||
'''Interpreter:''' [[Almquist SHell]] (NetBSD 3.0), [[Bourne Again SHell]] 3.2, [[Korn SHell]] (5.2.14 99/07/13.2), [[Z SHell]] |
|||
{{works with|Bourne Again SHell|3.2}} |
|||
{{works with|Korn SHell|5.2.14}} |
|||
{{works with|Z SHell}} |
|||
#!/bin/sh |
#!/bin/sh |
||
read a; read b; |
read a; read b; |