Pascal's triangle: Difference between revisions

Content added Content deleted
(add UNIX Shell)
Line 3,265: Line 3,265:
=={{header|UNIX Shell}}==
=={{header|UNIX Shell}}==
{{works with|Bourne Again SHell}}
{{works with|Bourne Again SHell}}
Any n <= 1 will print the "1" row.
<lang bash>#! /bin/bash
<lang bash>#! /bin/bash
pascal() {
pascal() {