stockholm/lass/5pkgs/pop/default.nix

11 lines
121 B
Nix
Raw Normal View History

2016-07-10 15:09:26 +00:00
{ pkgs, ... }:
pkgs.writeScriptBin "pop" ''
#! ${pkgs.bash}/bin/bash
file=$1
head -1 $file
sed -i 1d $file
''