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