stockholm/lass/5pkgs/pop/default.nix
2016-07-10 17:09:26 +02:00

11 lines
121 B
Nix

{ pkgs, ... }:
pkgs.writeScriptBin "pop" ''
#! ${pkgs.bash}/bin/bash
file=$1
head -1 $file
sed -i 1d $file
''