[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: io.popen read and write, again
- From: steve donovan <steve.j.donovan@...>
- Date: Sat, 12 Jul 2014 09:35:00 +0200
On Thu, Feb 27, 2014 at 5:08 AM, Sean Conner <sean@conman.org> wrote:
> list = {}
> cmd = U("ls -l") .. U("grep foobar") / "grep-stderr" .. function()
Here's another notation style that we once discussed:
res = shell.ls{l=true}:grep 'foobar'
A chain of methods, where method name are commands, flags are table
keys and arguments are table entries or arguments.