trun

Script for parsing any output. Yes, it is all it does.
git clone git://gtms.dev/trun.git
Log | Files | Refs | README | LICENSE

commit b79b706d70fe6025eae2df981f106eb9aa6d4aae
parent 7ca14cca5e443e3b05312376beba2576abede285
Author: tms <nemi@skaut.cz>
Date:   Tue, 13 Jul 2021 08:02:48 +0200

feat: No longer forward input to output.

Diffstat:
Mtrun.lua | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/trun.lua b/trun.lua @@ -12,6 +12,7 @@ package.path = package.path .. ';' .. handlerPath local handler = require(handlerName) local userdata = {name = name} + -- status dir local status_dir = os.getenv('TRUN_CACHE') or os.getenv('HOME') .. '/.cache/trun' if not io.open(status_dir) then @@ -68,8 +69,6 @@ end local lastStatus for line in io.lines() do - io.stdout:write(line, '\n') - lastStatus = status status = handler.handle(line, userdata) if status and status ~= lastStatus then