Piggy-backing here:
I have a large text file (100,000,000+ records).  I need to write a
utility that removes the last record of the file.  Is there anyway to
just remove the last record without reading through the complete file
with RunRev?

It sounds like a big file, but Rev is pretty good about managing memory and swapping to disk. I'd be tempted to try this and see how it works:

  delete line -1 of url ("file:mytext.txt")

Worth a test anyway. I've used it on files that were several megs in size without a problem, but they weren't super huge, just kinda big.

--
Jacqueline Landman Gay         |     [email protected]
HyperActive Software           |     http://www.hyperactivesw.com
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to