1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

heuretes: fix table display

This commit is contained in:
2025-12-13 23:02:53 +01:00
parent e910bf6f6a
commit e8e5bb6211

View File

@@ -2,6 +2,7 @@
writers,
fetchurl,
xan,
util-linux,
}: let
database = fetchurl {
url = "http://c.krebsco.de/greek.csv";
@@ -9,5 +10,5 @@
};
in
writers.writeDashBin "heuretes" ''
${xan}/bin/xan search -s simple "^$*$" ${database} | ${xan}/bin/xan table
${xan}/bin/xan search -s simple "$*" ${database} | ${util-linux}/bin/column -s, -t
''