On 01/08/2012, Martin Kopta <mar...@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.

Reply via email to