[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Translating Function calls into Shell Commands
- From: steve donovan <steve.j.donovan@...>
- Date: Thu, 11 Jun 2009 18:22:38 +0200
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.