summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgetpw-single3
-rwxr-xr-xpaste-makepkg-log4
2 files changed, 7 insertions, 0 deletions
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 "$@"