2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-03 15:40:17 +00:00
cheat.sheets/sheets/_lua/hello
2017-06-02 12:29:36 +00:00

12 lines
329 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")