[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: No os.copy or lfs.copy?
- From: Michal Kolodziejczyk <miko@...>
- Date: Tue, 08 Apr 2008 10:48:29 +0200
Geoff Leyland wrote:
Thanks Gary,
I hadn't really thought of that. I'm copying a "read-only" data file to
a tmpname before I muck with it so I was thinking in shell operations.
If read/write might be slow, then os.execute's fine. The data might be
tens or low hundreds of MB.
You could also use coroutines:
http://www.lua.org/pil/9.2.html
Regards,
miko