Unintended consequences

Problem: Editor creates “backup” files.  Solution: create a script to find all “*.bak” files and delete them.  Run it manually whenever appropriate.

Problem: Files are too big.  Solution: Use the “split” command to split them into 10k line chunks.  Files are big enough that the “split” default (foo => foo.aa, foo.ab, etc) needs to be changed to a 3 character extension, thus foo => foo.aaa, foo.aab, etc.

Solutions collide: foo.bak gets deleted the next time I clean up my backup files.  Oops.