From 6d8d01a364ba9786b7f9698840ba60e769954808 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Wed, 23 Nov 2011 08:22:55 -0500 Subject: Code cleanup. --- modules/textadept/filter_through.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/textadept/filter_through.lua') diff --git a/modules/textadept/filter_through.lua b/modules/textadept/filter_through.lua index 35123194..bb55f444 100644 --- a/modules/textadept/filter_through.lua +++ b/modules/textadept/filter_through.lua @@ -52,7 +52,7 @@ events.connect(events.COMMAND_ENTRY_COMMAND, function(text) local f = io.open(tmpfile, 'wb') f:write(input) f:close() - local cmd = table.concat({ cat, '"'..tmpfile..'"', '|', text }, ' ') + local cmd = cat..' "'..tmpfile..'" | '..text if WIN32 then cmd = cmd:gsub('/', '\\') end local p = io.popen(cmd) if s ~= e then -- cgit v1.2.3