[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: Tue, 13 Jul 2010 02:06:07 +0400
On Tue, Jul 13, 2010 at 01:58, Alexander Gladysh <agladysh@gmail.com> wrote:
>> sh. find "/etc" { name = "*rc", ctime="+30" } .l. sort "-n" .out
> To bring it all together: (Semi-sensical command line, sorry)
> sh. gcc { o = file } (file..'.c") .I. grep 'error' .I. sort .out
Sorry for spamming, that's the last post until someone replies to the
thread, I promise :-)
Command output substitution:
sh. find ( sh. jot "-r" (1) ) .out
Redirection
sh. grep "foo" .inp "bar" .out "baz"
(Perhaps .i and .o? Note "in" is a keyword)
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, Florian Weimer
- Re: Lua as replacement for Bash scripting, Javier Guerra Giraldez
- Re: Lua as replacement for Bash scripting, Alexander Gladysh
- 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, Alexander Gladysh
- Re: Lua as replacement for Bash scripting, Alexander Gladysh
- Re: Lua as replacement for Bash scripting, Alexander Gladysh