Re: [dev] [PATCH] sbase: add cut
On 01/08/2012, Martin Kopta <martin_AT_kopta.eu> wrote:
>> 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?
This. Actually just simplicity; I'm not sure which has better speed.
Meh.
Received on Wed Aug 01 2012 - 15:32:08 CEST
This archive was generated by hypermail 2.3.0
: Wed Aug 01 2012 - 15:36:03 CEST