From efbe42bd1bf65e47cde554c9b4d8c0bde7f22b17 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Wed, 25 Mar 2015 20:16:46 +0100 Subject: add new scripts Signed-off-by: Florian Pritz --- getpw-single | 3 +++ paste-makepkg-log | 4 ++++ 2 files changed, 7 insertions(+) create mode 100755 getpw-single create mode 100755 paste-makepkg-log diff --git a/getpw-single b/getpw-single new file mode 100755 index 0000000..11a01c9 --- /dev/null +++ b/getpw-single @@ -0,0 +1,3 @@ +#!/bin/bash + +getpw "$@" | head -1 | cut -d\ -f1 diff --git a/paste-makepkg-log b/paste-makepkg-log new file mode 100755 index 0000000..bd7d25a --- /dev/null +++ b/paste-makepkg-log @@ -0,0 +1,4 @@ +#!/bin/bash + +sed -ri "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g; s/\x0f//g;" "$@" +fb "$@" -- cgit v1.2.3-24-g4f1b