diff options
author | lassulus <lass@aidsballs.de> | 2016-07-10 17:09:26 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2016-07-10 17:09:26 +0200 |
commit | fadf24c8413ae002eaecef6339f16ba0fe7f4db1 (patch) | |
tree | f5f8eca9c493c30f4a82e38a1136c09ceea6a151 /lass/5pkgs/pop | |
parent | 8796c7fbce8dc90113ec9bf33c5133a34482639b (diff) |
l 5: add pop
Diffstat (limited to 'lass/5pkgs/pop')
-rw-r--r-- | lass/5pkgs/pop/default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lass/5pkgs/pop/default.nix b/lass/5pkgs/pop/default.nix new file mode 100644 index 000000000..cec22e3b1 --- /dev/null +++ b/lass/5pkgs/pop/default.nix @@ -0,0 +1,10 @@ +{ pkgs, ... }: + +pkgs.writeScriptBin "pop" '' + #! ${pkgs.bash}/bin/bash + + file=$1 + + head -1 $file + sed -i 1d $file +'' |