diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-05-28 07:47:41 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-05-28 07:47:41 +0000 |
commit | 6c565dd7c06c96fd9b3394ade61f46da59590d30 (patch) | |
tree | f303c1a94627e002fa4dd73d2f2641596b8b1420 /etc/get.lua | |
parent | 84f03fda7c2be57e14f937e295710b5e883fedc6 (diff) | |
download | luasocket-6c565dd7c06c96fd9b3394ade61f46da59590d30.tar.gz luasocket-6c565dd7c06c96fd9b3394ade61f46da59590d30.tar.bz2 luasocket-6c565dd7c06c96fd9b3394ade61f46da59590d30.zip |
Almost there.
Diffstat (limited to 'etc/get.lua')
-rw-r--r-- | etc/get.lua | 4 |
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 | ----------------------------------------------------------------------------- |
7 | require"http" | ||
8 | require"ftp" | ||
9 | require"url" | ||
10 | |||
7 | -- formats a number of seconds into human readable form | 11 | -- formats a number of seconds into human readable form |
8 | function nicetime(s) | 12 | function nicetime(s) |
9 | local l = "s" | 13 | local l = "s" |