stockholm/tv/5pkgs/simple/field.nix
2019-08-05 14:08:31 +02:00

7 lines
106 B
Nix

{ gawk, writeDashBin }:
writeDashBin "field" ''
set -u
exec ${gawk}/bin/awk -v n="$1" '{print$n}'
''