Closed tavmem closed 6 years ago
As an addendum to this: it'd be awesome if there were a way to suppress the intro message when running a script. I've taken to using echo | k ...
, but it screws with asking for input...
All 3 items have been addressed:
You suppress the banner by adding the "-b" with any value. Examples: if a script "test.k" exists, you can run it with no banner by doing any of these:
./k test -b 0
./k test.k -b 0
./k test -b 12345
Kona will process any file as a script. k2.8 verifies that the file has a suffix of ".k" or .kr" in kona:
in k2.8
Also, in kona, the message "K Console - Enter \ for help" should occur before the script is processed.