From daf7c2d05d207d876f0383955e3f1c8c3f0c0822 Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 5 Aug 2019 14:08:31 +0200 Subject: tv field: init --- tv/5pkgs/simple/field.nix | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tv/5pkgs/simple/field.nix (limited to 'tv/5pkgs/simple') diff --git a/tv/5pkgs/simple/field.nix b/tv/5pkgs/simple/field.nix new file mode 100644 index 000000000..71362398d --- /dev/null +++ b/tv/5pkgs/simple/field.nix @@ -0,0 +1,6 @@ +{ gawk, writeDashBin }: + +writeDashBin "field" '' + set -u + exec ${gawk}/bin/awk -v n="$1" '{print$n}' +'' -- cgit v1.2.3