Don't overwrite the last character of a line if it's not a newline. This would
tree7ce70215b75827eba4d04f405a50c9b4ba625e3b
-rw-r--r-- 3 .cleancount
-rw-r--r-- 589 BUGS
-rw-r--r-- 17830 CHANGES
-rw-r--r-- 17986 COPYING
-rw-r--r-- 8633 CREDITS
-rw-r--r-- 3277 LICENSE
-rw-r--r-- 29033 Makefile
-rw-r--r-- 3974 Makefile.moddir_rules
-rw-r--r-- 2179 Makefile.rules
-rw-r--r-- 10367 README
-rw-r--r-- 25249 UPGRADE.txt
-rw-r--r-- 30071 acinclude.m4
drwxr-xr-x - agi
drwxr-xr-x - apps
-rwxr-xr-x 839 bootstrap.sh
drwxr-xr-x - build_tools
drwxr-xr-x - cdr
drwxr-xr-x - channels
drwxr-xr-x - codecs
-rwxr-xr-x 44018 config.guess
-rwxr-xr-x 32429 config.sub
drwxr-xr-x - configs
-rwxr-xr-x 1118422 configure
-rw-r--r-- 37139 configure.ac
drwxr-xr-x - contrib
drwxr-xr-x - doc
drwxr-xr-x - formats
drwxr-xr-x - funcs
drwxr-xr-x - images
drwxr-xr-x - include
-rwxr-xr-x 6406 install-sh
drwxr-xr-x - keys
drwxr-xr-x - main
-rw-r--r-- 3500 makeopts.in
-rwxr-xr-x 6480 missing
-rwxr-xr-x 671 mkinstalldirs
drwxr-xr-x - pbx
drwxr-xr-x - redhat
drwxr-xr-x - res
-rw-r--r-- 2576 sample.call
drwxr-xr-x - sounds
drwxr-xr-x - static-http
drwxr-xr-x - utils