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:
@@ -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
|
||||
''
|
||||
|
||||
Reference in New Issue
Block a user