[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Recommendations on my upcoming Lua presentation?
- From: marbux <marbux@...>
- Date: Tue, 1 Feb 2011 16:26:20 -0800
On Tue, Feb 1, 2011 at 3:54 PM, Steve Litt <email@example.com> wrote:
>> My personal favorite... filters:
> Devils advocate:
> Why use filters in Lua coroutines when you could do:
> grep -v .jpg$ access_log | grep -v .gif$ | grep -v .class$ | \
> calculate.lua | add_hdrs_and_footers.lua | \
> sort | report.lua > traffic_report.txt
That solution is a non-starter if you are writing code that must be
portable across various platforms, some of which do not have native
support for grep. E.g., the various flavors of Windows.
The Massively Multi-Platform Outliner