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

From: Calvin Morrison <mutantturkey_AT_gmail.com>
Date: Fri, 3 Aug 2012 14:08:37 -0400

On 3 August 2012 14:02, Uriel <uriel_AT_berlinblue.org> wrote:
> On Thu, Aug 2, 2012 at 4:34 PM, Kurt H Maier <khm-suckless_AT_intma.in> wrote:
>> On Thu, Aug 02, 2012 at 10:33:19AM -0400, Calvin Morrison wrote:
>>>
>>> I think cut is exactly the kind of job that awk (or sed) can be good
>>> for. It seems crazy not to use an existing tool that implements all
>>> the functionality, that can be nicely bundled in a a script.
>>>
>>
>> To be honest, I feel the same way about head(1) -- why bother
>> maintaining C when the tool is obviously a subset of another tool?
>
> head(1) is utterly and completely idiotic. sed 11q is superior in
> every possible way.
>

Might as well have a shell alias or even a script to do it for you.
Either way the point I think is that these formatting programs are
better suited to a program designed to handle all sorts of character
stream manipulation.
Received on Fri Aug 03 2012 - 20:08:37 CEST

This archive was generated by hypermail 2.3.0 : Fri Aug 03 2012 - 20:12:06 CEST