Sidney Cammeresi <[EMAIL PROTECTED]> posted the VMS way.

Not that I'm advocating this is the right way (let alone
have code that implements this), but here's how the same
things could look in Unix:

$ ls -F
foo.txt
$ ls foo.txt/*
foo.txt/1  foo.txt/2  foo.txt/3  foo.txt/4  foo.txt/5
$ fs purge foo.txt -keep 3
$ fs set_version_limit 3 foo.txt
$ ls foo.txt/*
foo.txt/3  foo.txt/4  foo.txt/5
$ echo hi >>foo.txt
$ ls foo.txt/*
foo.txt/4  foo.txt/5  foo.txt/6
$ rm foo.txt
$ ls foo.txt
foo.txt
$ ls foo.txt/*
foo.txt/4  foo.txt/5
$ rm foo.txt/*
$ ls foo.txt
ls: foo.txt: No such file or directory
$ 

At least there's no upper-case this way.

                                -Marcus
_______________________________________________
OpenAFS-info mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-info

Reply via email to