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

From: pancake <pancake_AT_youterm.com>
Date: Wed, 1 Aug 2012 16:23:32 +0200

The only thing i miss in cut is mutichar word split. Which is properly handled by awk. For example:

If a line is splitted by multiple spaces or a mix of tabs and spaces it is not handled right by cut. But awk does the job.

That's quite anoying because of the crappy output of many tools that abuse whitespaces and other human inhabilities to identify chars in empty places.

On Aug 1, 2012, at 16:04, Ryan Mullen <rmmullen_AT_gmail.com> wrote:

> HI,
>
> On Wed, Aug 1, 2012 at 9:48 AM, Strake <strake888_AT_gmail.com> wrote:
>> I rewrote cut cleaner, but am not sure whether I ought to bother to
>> send it, if ye would rather keep sbase sans cut.
>
> IMO cut is a good tool to include. I use cut's functionality much more
> than awk's; it's a simpler tool that does a basic thing and many
> scripts use it.
>
> Exclusion of cut would make sbase not viable when existing scripts
> need to be supported.
>
> Ryan
>
Received on Wed Aug 01 2012 - 16:23:32 CEST

This archive was generated by hypermail 2.3.0 : Wed Aug 01 2012 - 16:36:02 CEST