From 0b0e02875dbc4d7d795cafe6e5720aa66b32e1ac Mon Sep 17 00:00:00 2001 From: Aki Date: Sat, 2 Nov 2024 13:41:36 +0100 Subject: Naive approach to disk-based masking directly on the trigrams --- decimal.lua | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'decimal.lua') diff --git a/decimal.lua b/decimal.lua index 6f32e5d..df6975e 100755 --- a/decimal.lua +++ b/decimal.lua @@ -1,11 +1,7 @@ #!/usr/bin/env lua local eyes = require "eyes" +local format = require "format" local reading = require "reading" for _, message in ipairs(eyes) do - local start, value = reading.next_value(message) - io.write(value) - for _, value in reading.values(message, start) do - io.write(",", value) - end - print() + print(format.csv(reading.tvalues(message))) end -- cgit v1.1