1

Is it possible to have more than just one backup when editing text files?

view story
linux-howto

http://unix.stackexchange.com – Gedit and medit are two text editors that I know of that allow me to save a backup. So, if I create a file called temp.txt the next time I edit it and then save it, I'll have a backup called temp.txt~. My question is this: is there a text editor that allows me to have backups named in a serial fashion so that I can have more than just the one backup in case I want to go back to the file as it existed a few revisions ago? For example, I'd have temp.txt as the latest version and temp.bak.1, temp.bak.2, etc.? If that is not possible, is there some script that will automatically rename a backu (HowTos)