Nigel,
I typically use something like /bin/sort with the -u option:
:xeq /bin/sort -u < OLDFILE > NEWFILE
If the file is already sorted, /bin/uniq might be sufficient.
Notice that the Posix tools seem to run faster when the input
file is a bytestream file, so that the file system layer does
not have to add the bytestream emulation layer. So it might
help to use /bin/tobyte -at before the sort or uniq invocation.
Lars.
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *