Remove trailing whitespace from all text files

I've used the following command to remove the trailing whitespace for
all tracked text files:

git grep -Il '' | xargs sed -i 's/[ \t]*$//'
This commit is contained in:
Tom Krizek
2023-06-07 16:00:00 +02:00
parent 589752fc69
commit 5893debf46
87 changed files with 764 additions and 764 deletions

View File

@@ -160,7 +160,7 @@ fi
#
echo_i "checking 'rdnc zonestatus' output"
ret=0
ret=0
for i in 0 1 2 3 4 5 6 7 8 9
do
$RNDCCMD 10.53.0.1 zonestatus primary.example > rndc.out.pri 2>&1
@@ -235,7 +235,7 @@ if [ $ret != 0 ]; then echo_i "failed"; fi
status=`expr $status + $ret`
echo_i "checking 'rdnc zonestatus' with duplicated zone name"
ret=0
ret=0
$RNDCCMD 10.53.0.1 zonestatus duplicate.example > rndc.out.duplicate 2>&1
checkfor "zone 'duplicate.example' was found in multiple views" rndc.out.duplicate
$RNDCCMD 10.53.0.1 zonestatus duplicate.example in primary > rndc.out.duplicate 2>&1