On Tue, Jun 3, 2014 at 9:11 AM, Dirk Laurie <dirk.laurie@gmail.com> wrote: > I can't believe that I'm the first person who has though of doing this. > Any pointer to a module that does it nicely will be appreciated. https://github.com/stevedonovan/Penlight/blob/master/lua/pl/stringio.lua No kitchen-sink dependencies, and I tried hard to get 5.2 file semantics right; any criticism welcome.