Re: Awk Question - Again

From: Christoph Gysin (fr33z3_at_gmx.ch)
Date: 10/29/04


Date: Fri, 29 Oct 2004 16:59:43 +0200

Christoph Gysin wrote:
> How about:
> name=`echo $label1 | awk '{print($1)}'`

Or even simpler:

name=${label1%% *}

Christoph