summaryrefslogtreecommitdiffstats
path: root/paste-makepkg-log
diff options
context:
space:
mode:
Diffstat (limited to 'paste-makepkg-log')
-rwxr-xr-xpaste-makepkg-log4
1 files changed, 4 insertions, 0 deletions
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 "$@"