stockholm/tv/5pkgs/simple/field.nix

7 lines
106 B
Nix
Raw Normal View History

2019-08-05 12:08:31 +00:00
{ gawk, writeDashBin }:
writeDashBin "field" ''
set -u
exec ${gawk}/bin/awk -v n="$1" '{print$n}'
''