Date: Mon, 10 Mar 1997 00:37:15 -0800 (PST) From: asami@vader.cs.berkeley.edu (Satoshi Asami) To: jkh@time.cdrom.com Cc: ports@freebsd.org Subject: Re: What do you think of this little hack to /usr/ports/Makefile ? Message-ID: <199703100837.AAA04222@baloon.mimi.com> In-Reply-To: <199703090934.BAA12771@time.cdrom.com> (jkh@time.cdrom.com)
next in thread | previous in thread | raw e-mail | index | archive | help
* @awk -F\| '{ printf("Port:\t%s\nPath:\t%s\nInfo:\t%s\nMaint:\t%s\nIndex:\t%s\nB-deps:\t%s\nR-deps:\t%s\n\n", $$1, $$2, $$4, $$6, $$7, $$8, $$9); }' < ${.CURDIR}/INDEX Maybe we can define this command elsewhere? * +PAGER?= more * + @grep ${key} ${.CURDIR}/INDEX | awk -F\| '{ printf("Port:\t%s\nPath:\t%s\nInfo:\t%s\nMaint:\t%s\nIndex:\t%s\nB-deps:\t%s\nR-deps:\t%s\n\n", $$1, $$2, $$4, $$6, $$7, $$8, $$9); }' | ${PAGER} I wouldn't use a pager here, the users can pipe the output themselves if they want it. Also, print-index doesn't have a pager. Other than that, it looks fine (although I somehow can't see much use for it). Satoshi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703100837.AAA04222>