aboutsummaryrefslogtreecommitdiff
path: root/etc/get.lua
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2004-05-28 07:47:41 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2004-05-28 07:47:41 +0000
commit6c565dd7c06c96fd9b3394ade61f46da59590d30 (patch)
treef303c1a94627e002fa4dd73d2f2641596b8b1420 /etc/get.lua
parent84f03fda7c2be57e14f937e295710b5e883fedc6 (diff)
downloadluasocket-6c565dd7c06c96fd9b3394ade61f46da59590d30.tar.gz
luasocket-6c565dd7c06c96fd9b3394ade61f46da59590d30.tar.bz2
luasocket-6c565dd7c06c96fd9b3394ade61f46da59590d30.zip
Almost there.
Diffstat (limited to 'etc/get.lua')
-rw-r--r--etc/get.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/get.lua b/etc/get.lua
index aa29ec2..cc270e8 100644
--- a/etc/get.lua
+++ b/etc/get.lua
@@ -4,6 +4,10 @@
4-- Author: Diego Nehab 4-- Author: Diego Nehab
5-- RCS ID: $Id$ 5-- RCS ID: $Id$
6----------------------------------------------------------------------------- 6-----------------------------------------------------------------------------
7require"http"
8require"ftp"
9require"url"
10
7-- formats a number of seconds into human readable form 11-- formats a number of seconds into human readable form
8function nicetime(s) 12function nicetime(s)
9 local l = "s" 13 local l = "s"