Skip to content

Clean away trailing space from all project files

Most modern text editors automatically trim away trailing space at end of lines. For some historical reason the release-notes project has a lot of trailing whitespace which will cause extra noise in git commits and diffs.

Executed with:

for x in $(find * -type f -exec file -i {} + | \
  awk -F': +' '{ if ($2 ~ /^text\//) print $1 }')
do
    sed -i 's/[[:space:]]*$//' $x
done

Reviewed with git citool to ensure all changes are correct.

Edited by Otto Kekäläinen

Merge request reports

Loading