summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/filter5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/filter b/common/filter
index 509ee950..36d51bd9 100644
--- a/common/filter
+++ b/common/filter
@@ -651,5 +651,10 @@ _filter_bash()
sed -e "s/^bash: line 1: /bash: /"
}
+_filter_trailing_whitespace()
+{
+ sed -E -e "s/\s+$//"
+}
+
# make sure this script returns success
/bin/true