Use the caret (^) to manage file versions
What is wrong with this picture?
Here is what it looks like on my system:
foo^1
foo^10
foo^11
...
foo^2
foo^20
foo^21
...
foo^3
...

YUCK!
Instead, try pre-pending zeros after the carets… but stay consistent.
foo^001, foo^002, …, foo^010, …, foo^020, …
-m