From owner-freebsd-questions@FreeBSD.ORG Thu Feb 26 05:32:21 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14E8C16A4CE for ; Thu, 26 Feb 2004 05:32:21 -0800 (PST) Received: from galilee.polands.org (CPE-24-29-189-110.new.rr.com [24.29.189.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36B5843D39 for ; Thu, 26 Feb 2004 05:32:20 -0800 (PST) (envelope-from doug@polands.org) Received: from email.polands.org (samaria.polands.org [172.16.1.17]) by galilee.polands.org (8.12.9/8.12.9) with SMTP id i1QDWHT0032790; Thu, 26 Feb 2004 07:32:18 -0600 (CST) (envelope-from doug@polands.org) Received: from 69.48.112.134 (SquirrelMail authenticated user djp) by email.polands.org with HTTP; Thu, 26 Feb 2004 07:32:18 -0600 (CST) Message-ID: <2049.69.48.112.134.1077802338.squirrel@email.polands.org> In-Reply-To: <9256D57F598E6C41B288AA7DB94F29C901C2D69A@pgnmail1.pgnaplikace.cz> References: <9256D57F598E6C41B288AA7DB94F29C901C2D69A@pgnmail1.pgnaplikace.cz> Date: Thu, 26 Feb 2004 07:32:18 -0600 (CST) From: "Doug Poland" To: Roub=?iso-8859-1?Q?=ED=E8ek_Zden=ECk__?= (T-Systems PragoNet) User-Agent: SquirrelMail/1.4.0 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 Importance: Normal cc: questions@freebsd.org Subject: Re: Problem with sed and awk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2004 13:32:21 -0000 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