diff options
author | 2011-11-23 08:22:55 -0500 | |
---|---|---|
committer | 2011-11-23 08:22:55 -0500 | |
commit | 6d8d01a364ba9786b7f9698840ba60e769954808 (patch) | |
tree | 19afb5afac0889d6c1a92bb2c33ee551f902a134 /modules/textadept/filter_through.lua | |
parent | f1db4cacfe3aa49ac03e50f05ea522e69b1a0b63 (diff) | |
download | textadept-6d8d01a364ba9786b7f9698840ba60e769954808.tar.gz textadept-6d8d01a364ba9786b7f9698840ba60e769954808.zip |
Code cleanup.
Diffstat (limited to 'modules/textadept/filter_through.lua')
-rw-r--r-- | modules/textadept/filter_through.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |