Re: A Lua script and a Bash script in one file
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: A Lua script and a Bash script in one file
- From: Egor Skriptunoff <egor.skriptunoff@...>
- Date: Tue, 8 May 2012 09:00:53 +0300
> 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 ]]