1
0
mirror of https://github.com/kmein/niveum synced 2026-03-19 11:31:09 +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, writers,
fetchurl, fetchurl,
xan, xan,
util-linux,
}: let }: let
database = fetchurl { database = fetchurl {
url = "http://c.krebsco.de/greek.csv"; url = "http://c.krebsco.de/greek.csv";
@@ -9,5 +10,5 @@
}; };
in in
writers.writeDashBin "heuretes" '' 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
'' ''