lua-users home
lua-l archive

Re: A Lua script and a Bash script in one file

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> A Bash script that's also a Lua script!
That's funny!
The same thing for .bat-files in Windows:
rem = 'This is .BAT-file and .lua-script' --[[
@echo This is .BAT-file
@lua52.exe %0
@goto end
]]
print 'This is Lua script'
--[[
:end
@rem ]]

AltStyle によって変換されたページ (->オリジナル) /