I guess this can be done with a script wrapper around vi, but does
anyone know of an option to automagically store the current version of a
text file prior to saving changes. This used to be a feature on DEC
editors and I miss it.

eg 

vi /etc/freeswan/ipsec.conf
<make changes>
:wq

ls /etc/freeswan

ipsec.conf.1
ipsec.conf
ipsec.secrets

ie .1 is the backup or some such.

Stu



-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to