head -1 yourscript | od -c
It would out put
0000000 # ! / b i n / b a s h \r \n
if the format was not correct and
0000000 # ! / b i n / b a s h \n
if the format was correct. As you can see, there was an invisible trailing carriage return after #!/bin/bash that was causing the issue. Apparently due to the MS-DOS text format. Following that there was a simple dos2unix command installed on my system that magically took care of the problem. I don't know if dos2unix is on TinyCore (was using Parted Magic at the time), but if it isn't I may include it. Although, best practice would be to use caution with your file formats because the problem is not immediately obvious.
Anyway, next time I'll talk about the lettercase fix that I made in 1.5 among other things. Hopefully the project will be complete in the next couple weeks!
Here are some screenshots of the main menu:
And Cerberus Alpha's "title screen." Enter 'a' at the main menu.
No comments:
Post a Comment