From 6a054556ccf135ef0968e003dfa27dbcc7a03a8e Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Thu, 26 May 2022 07:28:05 +0200 Subject: [PATCH] Add tool to strip trailing whitespace --- tools/strip_trailing_whitespace.sh | 2 ++ 1 file changed, 2 insertions(+) create mode 100755 tools/strip_trailing_whitespace.sh diff --git a/tools/strip_trailing_whitespace.sh b/tools/strip_trailing_whitespace.sh new file mode 100755 index 000000000..57e51d311 --- /dev/null +++ b/tools/strip_trailing_whitespace.sh @@ -0,0 +1,2 @@ +#!/bin/bash +sed --in-place 's/[[:space:]]\+$//' $(find -name "*.lua")