[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua as replacement for Bash scripting
- From: Alexander Gladysh <agladysh@...>
- Date: Sat, 10 Jul 2010 03:03:20 +0400
On Thu, Jul 8, 2010 at 06:50, David Manura <dm.lua@math2.org> wrote:
> However, what about simply this?
> exec 'ls /dev | lua -e $Q(for line in io.stdin:lines(true) do
> io.stdout:write(line,line) end) | grep ^sg.*'
Regarding the syntax and stuff...
I think that it would help if we would try to rewrite some
shell-script in our hypothetic API — to get a feel of it.
Anyone have a handy shell script of moderate length (not too short,
not too long) that does some strange, but fascinating things?
Alexander.
- References:
- Lua as replacement for Bash scripting, Alexander Gladysh
- Re: Lua as replacement for Bash scripting, Jerome Vuarand
- Re: Lua as replacement for Bash scripting, Alexander Gladysh
- Re: Lua as replacement for Bash scripting, Jerome Vuarand
- Re: Lua as replacement for Bash scripting, Hisham
- Re: Lua as replacement for Bash scripting, Alexander Gladysh
- Re: Lua as replacement for Bash scripting, Hisham
- Re: Lua as replacement for Bash scripting, David Manura
- Re: Lua as replacement for Bash scripting, Alexander Gladysh
- Re: Lua as replacement for Bash scripting, David Manura