aboutsummaryrefslogtreecommitdiff
path: root/etc/eol.lua
diff options
context:
space:
mode:
Diffstat (limited to 'etc/eol.lua')
-rw-r--r--etc/eol.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/etc/eol.lua b/etc/eol.lua
index b13684b..d3da776 100644
--- a/etc/eol.lua
+++ b/etc/eol.lua
@@ -1,6 +1,5 @@
1require"mime.lua" 1local mime = require("mime")
2require"ltn12.lua" 2local ltn12 = require("ltn12")
3
4local marker = '\n' 3local marker = '\n'
5if arg and arg[1] == '-d' then marker = '\r\n' end 4if arg and arg[1] == '-d' then marker = '\r\n' end
6local filter = mime.normalize(marker) 5local filter = mime.normalize(marker)