diff options
author | jkh <jkh@FreeBSD.org> | 1998-10-30 23:38:26 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1998-10-30 23:38:26 +0000 |
commit | f3644dcc6ef8ea8d478192d76036d7c0783d2a37 (patch) | |
tree | 35f241cdfd53145dca798635313314f276acff56 /Makefile | |
parent | ea29297fb62912db10f0adec3a99acf4894f242c (diff) | |
download | FreeBSD-ports-f3644dcc6ef8ea8d478192d76036d7c0783d2a37.zip FreeBSD-ports-f3644dcc6ef8ea8d478192d76036d7c0783d2a37.tar.gz |
Make the search target home in a little better on what users are
actually looking for.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.37 1997/12/13 05:55:08 asami Exp $ +# $Id: Makefile,v 1.38 1998/08/07 23:25:58 asami Exp $ # SUBDIR += archivers @@ -64,5 +64,5 @@ search: ${.CURDIR}/INDEX @echo "The search target requires a keyword parameter," @echo "e.g.: \"make search key=somekeyword\"" .else - @grep -i ${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); }' + @grep -i "${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); }' .endif |