MLUG: RE: [MLUG] VMS file version numbering for unix?
RE: [MLUG] VMS file version numbering for unix?
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Title: RE: [MLUG] VMS file version numbering for unix?

We use LOTS of VMS boxes here.  Maybe it's a parameter or a setting but on our systems, highest version number = newest file.  Otherwise, it'd have to renumber each file every time you made a change.

And I've been wanting a Linux filesystem like this for a long time (obviously not enough to write it, though)

david

-----Original Message-----
From: Mike Miller [mailto:EMAIL:PROTECTED]
Sent: Tuesday, November 05, 2002 4:45 PM
To: MLUG membership
Subject: [MLUG] VMS file version numbering for unix?


Some users of the VMS operating system are very fond of the way VMS will
not overwrite a file but will tack a ";n" (where n is an integer) at the
end of the filename.  So if I were to edit a file four times, and the
original file was called file.txt, I'd end up with these files:

file.txt;1
file.txt;2
file.txt;3
file.txt;4
file.txt;5

Of these, file.txt;5 would be the oldest (the original file.txt) and
file.txt;1 would be the newest.  Has this been implemented in any unix OS
or unix shell?

I could make it work for certain programs.  Emacs already does this sort
of thing, if you ask it to.  But I'm not so sure it's possible to find a
unix OS (or shell) that will do this for all programs that might overwrite
a file.  VMS implements a PURGE command to allow the user to delete the
old versions.

Mike

--
To unsubscribe, go to http://mlug.missouri.edu/members/edit.php

Archives are available at http://mlug.missouri.edu/list-archives/