Re: [dev] [PATCH] sbase: add cut

From: Martin Kopta <martin_AT_kopta.eu>
Date: Wed, 01 Aug 2012 15:18:18 +0200

On 08/01/2012 03:09 PM, Kurt H Maier wrote:
> On Wed, Aug 01, 2012 at 08:58:00AM -0400, Niki Yoshiuchi wrote:
>> Why would you use awk or Perl when you have the best programming language
>> available: Ruby?
>> On Aug 1, 2012 8:55 AM, "Martin Kopta" <martin_AT_kopta.eu> wrote:
>>
>>> On 08/01/2012 02:36 PM, Uriel wrote:
>>>
>>>> Use awk.
>>>>
>>>
>>> Use Perl.
>>>
>>>
>>>
>
> I hereby declare this mail thread a disaster area of top-posting and
> language fanboyism and request immediate dispatch of the vans.
>
> Also, I'm really curious why people use cut when awk exists.

$ du -b /usr/bin/cut /usr/bin/gawk /opt/plan9/bin/awk
38600 /usr/bin/cut
400212 /usr/bin/gawk
105700 /opt/plan9/bin/awk

Speed and simplicity I guess?

Why would I use awk of which I don't remember syntax, when I could often
do with trustworthy cut easily? Seriously, apart from '{print $1}' and
doing sums and stuff, I don't know awk. I don't want to. It is weird
intermezzo between simple cut/sed/.. and almighty perl. Never understood
awk users.
Received on Wed Aug 01 2012 - 15:18:18 CEST

This archive was generated by hypermail 2.3.0 : Wed Aug 01 2012 - 15:24:13 CEST