Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 169 Bytes

printf.lua

File metadata and controls

7 lines (5 loc) · 169 Bytes
 
1
2
3
4
5
6
7
-- an implementation of printf
function printf(...)
io.write(string.format(...))
end
printf("Hello %s from %s on %s\n",os.getenv"USER" or "there",_VERSION,os.date())