luajit does support hashbangs

This commit is contained in:
Felix Van der Jeugt 2021-12-05 12:17:39 +01:00
parent fad5da2e27
commit 0582895825
No known key found for this signature in database
GPG key ID: 58B209295023754D
14 changed files with 23 additions and 7 deletions

2
day02/part1.lua Normal file → Executable file
View file

@ -1,3 +1,5 @@
#!/usr/bin/env luajit
local position, depth = 0, 0
for line in io.lines(arg[3]) do
local split = line:find(" ")

2
day02/part2.lua Normal file → Executable file
View file

@ -1,3 +1,5 @@
#!/usr/bin/env luajit
local position, depth, aim = 0, 0, 0
for line in io.lines(arg[3]) do
local split = line:find(" ")