Debian Codegraph @

gen0

raw
1 # gen0
2 #
3 # This is an example "generation 0" start-up file for "life.sh".
4 # --------------------------------------------------------------
5 # The "gen0" file is a 10 x 10 grid using a period (.) for live cells,
6 #+ and an underscore (_) for dead ones. We cannot simply use spaces
7 #+ for dead cells in this file because of a peculiarity in Bash arrays.
8 # [Exercise for the reader: explain this.]
9 #
10 # Lines beginning with a '#' are comments, and the script ignores them.
11 __.__..___
12 __.._.____
13 ____.___..
14 _._______.
15 ____._____
16 ..__...___
17 ____._____
18 ___...____
19 __.._..___
20 _..___..__