lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


print(io.open(arg[0]):read('*a'))

33 characters. Prints contents of any file. In Lua 5.3 may change '*a' to 'a'. But I don't consider this as a fair record as it assume code is stored in file as plain-text.