This module allows you to manipulate strings in memory as if they were files. It can be used to create strings from many parts (like a stringbuffer), or to read strings a line at a time, or to simulate real files.
The lua-memoryfile user manual explains how to use the module. It is also installed as a man page when you install the package.
The lua-memoryfile library is written in C, and therefore needs to be compiled into a shared library, which is loaded directly by Lua. On Linux the makefile should be able to compile it without difficulty. A binary package for Debian unstable is provided.
Please use the lua-memoryfile project page on LuaForge to report bugs.
Downloads
Source code and Debian packages are available. See the downloads and changelog page for a list of all the files and details of what changed in each release.