Date: Thu, 26 Feb 2004 07:32:18 -0600 (CST) From: "Doug Poland" <doug@polands.org> To: Roub=?iso-8859-1?Q?=ED=E8ek_Zden=ECk__?= (T-Systems PragoNet) <Zdenek.Roubicek@pragonet.cz> Cc: questions@freebsd.org Subject: Re: Problem with sed and awk Message-ID: <2049.69.48.112.134.1077802338.squirrel@email.polands.org> In-Reply-To: <9256D57F598E6C41B288AA7DB94F29C901C2D69A@pgnmail1.pgnaplikace.cz> References: <9256D57F598E6C41B288AA7DB94F29C901C2D69A@pgnmail1.pgnaplikace.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
Roubíček Zdeněk (T-Systems PragoNet) said: > > Any idea what I am missing? > >>cat test > 1;1 > 2;2 >>awk -F ';' '{print $1}' > 1 > 2 >>awk -F ' FS=";" {print $1}' > 1;1 > 2 >> > awk 'BEGIN{FS=";"}{print $1}' test -- Regards, Doug
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2049.69.48.112.134.1077802338.squirrel>