2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-19 03:25:44 +00:00
cheat.sheets/sheets/_lua/hello
2020-10-15 18:29:27 +01:00

12 lines
326 B
Plaintext

-- to install:
-- (Debian/Ubuntu) apt-get install lua
-- (Fedora/CentOS) yum install lua
-- (source code) curl -R -O http://www.lua.org/ftp/lua-5.3.4.tar.gz | tar xz -
-- cd lua-5.3.4
-- make linux
--
-- to execute:
-- lua hello.lua
io.write("Hello world, from ",_VERSION,"!\n")