3 ms·
Any way I can see the script? Looks like I am still learning and ended up taking a longer route.
by abhishekjha 9y ago
Any way I can see the script? Looks like I am still learning and ended up taking a longer route.
- spc476 9y agoIt's Lua 5.3: h = "hello" .. utf8.char(160) .. "world" f = io.open("Makefile","w") f:write(h,":\n") f:close() f = io.open(h .. ".c","w") f:write([[ #include <stdio.h> int main(void) { puts("Hello, world!"); return 0; } ]]) f:close() Pretty straightforward.