openethereum/scripts/remove_duplicate_empty_lines.sh
Niklas Adolfsson 98b7c07171 Update license header and scripts (#8666)
* Update `add_license` script

* run script

* add `remove duplicate lines script` and run it

* Revert changes `English spaces`

* strip whitespaces

* Revert `GPL` in files with `apache/mit license`

* don't append `gpl license` in files with other lic

* Don't append `gpl header` in files with other lic.

* re-ran script

* include c and cpp files too

* remove duplicate header

* rebase nit
2018-06-04 10:19:50 +02:00

7 lines
96 B
Bash
Executable File

#!/usr/bin/env sh
for f in $(find . -name '*.rs'); do
cat -s $f > $f.temp
mv $f.temp $f
done