OSX's awk blows up.
HelloGrayson opened this issue · comments
src/awk-raycaster - [master] » awk -f awkaster.awk
awk: syntax error at source line 23 source file awkaster.awk
context is
>>> sprite[0][ <<< 0]
awk: illegal statement at source line 24 source file awkaster.awk
awk: illegal statement at source line 24 source file awkaster.awk
You need gawk version >= 4.0.0
Prior versions do not support true arrays of arrays
Yup.
brew install gawk
gawk -f awkfaster.awk
Then adjusted terminal size to match game window and things worked as expected.
Might make sense to add that to README for osx users.
Done.