diff options
author | tv <tv@krebsco.de> | 2019-08-05 14:08:31 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2019-08-05 14:08:31 +0200 |
commit | daf7c2d05d207d876f0383955e3f1c8c3f0c0822 (patch) | |
tree | 6cf4bbbdab56988c9a8c73646cedcc7554de25a2 /tv/5pkgs | |
parent | 7c522820bd7858580567ab7d436f586ee5a139ce (diff) |
tv field: init
Diffstat (limited to 'tv/5pkgs')
-rw-r--r-- | tv/5pkgs/simple/field.nix | 6 |
1 files changed, 6 insertions, 0 deletions
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}' +'' |