luajit does support hashbangs
This commit is contained in:
parent
fad5da2e27
commit
0582895825
14 changed files with 23 additions and 7 deletions
2
day04/part1.lua
Normal file → Executable file
2
day04/part1.lua
Normal file → Executable file
|
@ -1,3 +1,5 @@
|
|||
#!/usr/bin/env luajit
|
||||
|
||||
function split(text, sep)
|
||||
local parts = {}
|
||||
local start = 0
|
||||
|
|
1
day04/part2.lua
Normal file → Executable file
1
day04/part2.lua
Normal file → Executable file
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env luajit
|
||||
require("utils")
|
||||
|
||||
local f = io.open(arg[3])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue