diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-06-17 21:46:22 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-06-17 21:46:22 +0000 |
commit | 597a062b1bc38488df1363995eece8a9f19c7111 (patch) | |
tree | ba4ccaa8be98d1100aed63abb9c42c099f2c41bb /etc/qp.lua | |
parent | eac26d2c8dafab604ef2e97e504326cfaf1033cf (diff) | |
download | luasocket-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.lua | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -1,5 +1,11 @@ | |||
1 | require("ltn12") | 1 | ----------------------------------------------------------------------------- |
2 | require("mime") | 2 | -- Little program to convert to and from Quoted-Printable |
3 | -- LuaSocket sample files | ||
4 | -- Author: Diego Nehab | ||
5 | -- RCS ID: $Id$ | ||
6 | ----------------------------------------------------------------------------- | ||
7 | local ltn12 = require("ltn12") | ||
8 | local mime = require("mime") | ||
3 | local convert | 9 | local convert |
4 | arg = arg or {} | 10 | arg = arg or {} |
5 | local mode = arg and arg[1] or "-et" | 11 | local mode = arg and arg[1] or "-et" |