Date: Fri, 9 Nov 2001 22:57:21 -0500 From: Pete Fritchman <petef@databits.net> To: Ying-Chieh Liao <ijliao@csie.nctu.edu.tw> Cc: Michael McGoldrick <mmcgoldrick@linuxdriven.net>, ports@FreeBSD.ORG Subject: Re: mpeg_lib-1.3.1 port Message-ID: <20011109225721.A12495@databits.net> In-Reply-To: <20011110085307.A45272@terry.dragon2.net>; from ijliao@csie.nctu.edu.tw on Sat, Nov 10, 2001 at 08:53:07AM %2B0800 References: <20011109192517.A29027@linuxdriven.net> <20011110085307.A45272@terry.dragon2.net>
next in thread | previous in thread | raw e-mail | index | archive | help
++ 10/11/01 08:53 +0800 - Ying-Chieh Liao: | I've tried this : | | post-patch: | @(cd ${WRKSRC} ; \ | ${GREP} -r "<malloc.h>" * | ${AWK} -F: "{ print $1 }" | \ | xargs ${PERL} -pi -e "s/<malloc.h>/<stdlib.h>/") | | 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}. -pete -- Pete Fritchman [petef@(databits.net|freebsd.org|csh.rit.edu)] finger petef@databits.net for PGP key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011109225721.A12495>