Re: Attempt #3, adding a new command 'sfilter'

From: Maxim Sobolev <sobomax_at_FreeBSD.org>
Date: Wed, 06 Sep 2006 22:24:58 -0700
Julian Elischer wrote:
> Maxim Sobolev wrote:
> 
>> Why not just write simple 5-line script in your favorite scripting 
>> language (perl, python, ruby etc) that does just this and forget about 
>> it? I don't think performance is really a concern here since the most 
>> time this program will spend waiting for the I/O anyway, so that doing 
>> it in C makes little or no sense.
>>
>> IMHO this is one of the reasons we do have all those lightweight 
>> languages around - to avoid having separate utility and/or command 
>> line option for each and every particular situation.
>>
>> -Maxim 
> 
> 
> 
> perl is not lightweight to install on a machine.
> have you seen how much crap  gets installed when you add perl?

Well, with the current disk space $/MB ratio it *is* lightweight. ;-)

> lightweight is adding 100 instructions or so to 'date'.
> or adding the strftime instruction to awk (as it is in gawk)

Adding strftime to awk looks like better approach, since awk essentially 
is a scripting language.

-Maxim
Received on Thu Sep 07 2006 - 03:25:21 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:00 UTC