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

From: Ryan Mullen <rmmullen_AT_gmail.com>
Date: Wed, 1 Aug 2012 10:29:26 -0400

Hi,

On Wed, Aug 1, 2012 at 10:23 AM, pancake <pancake_AT_youterm.com> wrote:
> 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.

This is something that can be fixed with a pipe through tr before your
pipe through cut. Use tr to squeeze the multiple spaces down to a
single one or translate the spaces/tabs into whichever whitespace you
prefer.
Received on Wed Aug 01 2012 - 16:29:26 CEST

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