[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: Wed, 9 May 2012 02:03:11 +0300
Number of extra lines can be reduced to only four :-)
::lua:: --[[
@setlocal & set luafile=%0 & if exist %0.bat set luafile=%0.bat
@lua52.exe %luafile% %*
@exit /b %errorlevel% ]]
--assert(false)
print 'This is Lua script'
os.exit(2)
- References:
- A Lua script and a Bash script in one file, Rena
- Re: A Lua script and a Bash script in one file, Egor Skriptunoff
- Re: A Lua script and a Bash script in one file, Michael Wolf
- Re: A Lua script and a Bash script in one file, Michael Wolf
- Re: A Lua script and a Bash script in one file, T T
- Re: A Lua script and a Bash script in one file, steve donovan
- Re: A Lua script and a Bash script in one file, Egor Skriptunoff
- Re: A Lua script and a Bash script in one file, Daurnimator
- Re: A Lua script and a Bash script in one file, Michael Wolf
- RE: A Lua script and a Bash script in one file, Thijs Schreijer