initial commit
Signed-off-by: Peter Siegmund <mars3142@noreply.mars3142.dev>
This commit is contained in:
7
libs/lua-5.1.4/test/printf.lua
Normal file
7
libs/lua-5.1.4/test/printf.lua
Normal file
@@ -0,0 +1,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())
|
||||
Reference in New Issue
Block a user