Happy numbers: Difference between revisions

Content deleted Content added
Markjreed (talk | contribs)
→‎{{header|Ursala}}: Add UNIX shell version
Markjreed (talk | contribs)
→‎{{header|UNIX Shell}}: Add bash works-with
Line 1,920: Line 1,920:


=={{header|UNIX Shell}}==
=={{header|UNIX Shell}}==
{{works with|Bourne Again SHell}}
<lang bash>#!/bin/bash
<lang bash>#!/bin/bash
function sum_of_square_digits
function sum_of_square_digits
Line 1,960: Line 1,961:


first_n_happy 8</lang>
first_n_happy 8</lang>



=={{header|Ursala}}==
=={{header|Ursala}}==