Vim creates temporary files with the *.swp
extension when editing files;
if the session is terminated or the computer reboots/crashes etc without
cleanly exiting, these stick around.
This script seqarches for such files, and allows the user to use vim
to
check that the file actually has the latest changes from the swap, then
offers to delete the swap file.
The script uses bash builder
syntax and inclusions, and can be run directly in bbrun
. It can also be
be built to a standalone script.