From owner-freebsd-ports Mon Nov 12 4: 6:44 2001 Delivered-To: freebsd-ports@freebsd.org Received: from straylight.ringlet.net (sentinel.office1.bg [217.75.134.126]) by hub.freebsd.org (Postfix) with SMTP id 8285837B405 for ; Mon, 12 Nov 2001 04:06:36 -0800 (PST) Received: (qmail 6397 invoked by uid 1000); 12 Nov 2001 12:05:28 -0000 Date: Mon, 12 Nov 2001 14:05:28 +0200 From: Peter Pentchev To: Ying-Chieh Liao Cc: Pete Fritchman , Michael McGoldrick , ports@FreeBSD.ORG Subject: Re: mpeg_lib-1.3.1 port Message-ID: <20011112140528.C549@straylight.oblivion.bg> Mail-Followup-To: Ying-Chieh Liao , Pete Fritchman , Michael McGoldrick , ports@FreeBSD.ORG References: <20011109192517.A29027@linuxdriven.net> <20011110085307.A45272@terry.dragon2.net> <20011109225721.A12495@databits.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011109225721.A12495@databits.net>; from petef@databits.net on Fri, Nov 09, 2001 at 10:57:21PM -0500 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Nov 09, 2001 at 10:57:21PM -0500, Pete Fritchman wrote: > ++ 10/11/01 08:53 +0800 - Ying-Chieh Liao: > | I've tried this : > | > | post-patch: > | @(cd ${WRKSRC} ; \ > | ${GREP} -r "" * | ${AWK} -F: "{ print $1 }" | \ > | xargs ${PERL} -pi -e "s///") > | > | but failed , it seems that "awk -F:" didnt work > > entropy [114] % grep -r "malloc.h" * | awk -F: "{ print $1 }" > foo4:malloc.h > entropy [115] % grep -r "malloc.h" * | awk -F: '{ print $1 }' > foo4 > entropy [116] % > > You need to use single quotes around the {print $1}. And just as a side note, grep(1) has a nice -l option :) G'luck, Peter -- I am the meaning of this sentence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message