aboutsummaryrefslogtreecommitdiff
path: root/etc/qp.lua
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2004-06-17 21:46:22 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2004-06-17 21:46:22 +0000
commit597a062b1bc38488df1363995eece8a9f19c7111 (patch)
treeba4ccaa8be98d1100aed63abb9c42c099f2c41bb /etc/qp.lua
parenteac26d2c8dafab604ef2e97e504326cfaf1033cf (diff)
downloadluasocket-597a062b1bc38488df1363995eece8a9f19c7111.tar.gz
luasocket-597a062b1bc38488df1363995eece8a9f19c7111.tar.bz2
luasocket-597a062b1bc38488df1363995eece8a9f19c7111.zip
Almost ready for distribution...
Diffstat (limited to 'etc/qp.lua')
-rw-r--r--etc/qp.lua10
1 files changed, 8 insertions, 2 deletions
diff --git a/etc/qp.lua b/etc/qp.lua
index 5a00c4d..31a572b 100644
--- a/etc/qp.lua
+++ b/etc/qp.lua
@@ -1,5 +1,11 @@
1require("ltn12") 1-----------------------------------------------------------------------------
2require("mime") 2-- Little program to convert to and from Quoted-Printable
3-- LuaSocket sample files
4-- Author: Diego Nehab
5-- RCS ID: $Id$
6-----------------------------------------------------------------------------
7local ltn12 = require("ltn12")
8local mime = require("mime")
3local convert 9local convert
4arg = arg or {} 10arg = arg or {}
5local mode = arg and arg[1] or "-et" 11local mode = arg and arg[1] or "-et"