diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2017-05-11 12:15:54 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2017-05-16 23:24:12 +0200 |
commit | ce168959907bc922875902a703a1aebe2296ad2c (patch) | |
tree | af29c1d4465841981b7fcbbc9b044d64d938272e /fix-stm32cubemx-files | |
parent | 4d8f75c97b8f384f8452d27b50b68cf594bc779a (diff) | |
download | radio-controller-ce168959907bc922875902a703a1aebe2296ad2c.tar.gz radio-controller-ce168959907bc922875902a703a1aebe2296ad2c.tar.bz2 radio-controller-ce168959907bc922875902a703a1aebe2296ad2c.tar.xz radio-controller-ce168959907bc922875902a703a1aebe2296ad2c.zip |
o Cleaning up generated files, removing space at end of line.
Diffstat (limited to 'fix-stm32cubemx-files')
-rwxr-xr-x | fix-stm32cubemx-files | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fix-stm32cubemx-files b/fix-stm32cubemx-files index 141d4a1..da25c95 100755 --- a/fix-stm32cubemx-files +++ b/fix-stm32cubemx-files @@ -2,7 +2,7 @@ find stm32cubemx -type f |while read file do - cat $file | dos2unix | sed 's, *$,,g' > $file.tmp + cat $file | dos2unix | sed -e 's,[\t ]*$,,g' > $file.tmp cnt=$(diff $file.tmp $file | wc -l) if [[ $cnt -gt 0 ]] |