From ff0ad096bb7b28d3527f1ff4afe7407ab9d2e2a8 Mon Sep 17 00:00:00 2001 From: "Cody Young (horiba)" Date: Thu, 14 May 2026 08:01:05 +0000 Subject: [PATCH] Add script to remove trailing whitespace --- remove_trailing_whitespaces.sh | 1 + 1 file changed, 1 insertion(+) create mode 100755 remove_trailing_whitespaces.sh diff --git a/remove_trailing_whitespaces.sh b/remove_trailing_whitespaces.sh new file mode 100755 index 0000000..02b7ac7 --- /dev/null +++ b/remove_trailing_whitespaces.sh @@ -0,0 +1 @@ +git grep -lI '[[:space:]]$' | xargs -d '\n' perl -i -pe 's/[ \t]+$//'