diff options
Diffstat (limited to 'fix-stm32cubemx-files')
-rwxr-xr-x | fix-stm32cubemx-files | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/fix-stm32cubemx-files b/fix-stm32cubemx-files deleted file mode 100755 index da25c95..0000000 --- a/fix-stm32cubemx-files +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash - -find stm32cubemx -type f |while read file -do - cat $file | dos2unix | sed -e 's,[\t ]*$,,g' > $file.tmp - cnt=$(diff $file.tmp $file | wc -l) - - if [[ $cnt -gt 0 ]] - then - echo Fixed $file - mv $file.tmp $file - else - rm $file.tmp - fi -done |