orbea bfc366decc Squeeze extra blank lines with cat(1).
Example:

find . -type f -iname '*.c' | while read -r i; do
  cat -s "$i" > "$i.new"
  mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
..
2018-10-11 15:37:15 -07:00
2017-05-26 12:32:45 +01:00
2018-10-11 15:37:15 -07:00
2019-01-08 11:04:58 -08:00