lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Thu, Jun 11, 2009 at 5:09 PM, Duboucher
Thomas<thomas.duboucher@free.fr> wrote:
> alias lua = 'lua -lshell'
> thanks, a great piece of code ;)

Hehe, I've never been persuaded that Bash was a proper programming language ;)

And the idea can be continued: the next step is to do pipelines:

f = shell.pipe.cat 'file.txt' : sort() : head()  -- returns a file object

This will require luaex (compare with  the Python 'pipe' module)

steve d.