[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: A Lua script and a Bash script in one file
- From: Rena <hyperhacker@...>
- Date: Mon, 7 May 2012 21:37:58 -0600
Just something I put together for fun:
_= # --[[
echo This is bash script
print "And this is Lua."
--verify that Bash doesn't choke on the Lua syntax here.
for i = 1, 2 do print(i) end
while false do print [[ critical logic failure! ]] os.exit(0) end
A Bash script that's also a Lua script!
Sent from my Game Boy.