From owner-freebsd-ports Sun Oct 5 04:20:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id EAA13478 for ports-outgoing; Sun, 5 Oct 1997 04:20:13 -0700 (PDT) Received: from silent.darkening.com (nonxstnt@iskh122.haninge.kth.se [130.237.83.122]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id EAA13470 for ; Sun, 5 Oct 1997 04:20:05 -0700 (PDT) Received: from localhost (nonxstnt@localhost) by silent.darkening.com (8.8.7/8.8.7) with SMTP id NAA05784 for ; Sun, 5 Oct 1997 13:20:13 +0200 (CEST) X-Authentication-Warning: silent.darkening.com: nonxstnt owned process doing -bs Date: Sun, 5 Oct 1997 13:20:13 +0200 (CEST) From: nobody To: ports@freebsd.org Subject: case sensitivity Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by hub.freebsd.org id EAA13471 Sender: owner-freebsd-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I just got the latest ports, and the Makefile problem is still there: @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); }' should really be: @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); }' (note the -i). This is so when people search for things, it's not case sensitive. This Is A Good Thing (tm). Like when: "make search key=netscape" you get: Port: ko-netscape-3.01intl Port: javac_netscape-1.0.1 Port: ru-netscape-3.01 Port: linux-netscape-4.03 Port: netscape-3.03 Port: netscape-4.03b8 "make search key=Netscape" and you get a totally different array of ports: Port: ko-nhpf-1.42 Port: ko-nhppf-1.2 Port: javac_netscape-1.0.1 This might not seem so much, but it sure bugged the heck out of me trying to find Big Brother, usign make search key=net, when the Big Brother description had Net. (I should have just grep -i'd /usr/ports/INDEX, but make search key=whatever outputs much more nicely). BTW: If anyone is bored and is looking for a port to put in before 2.2.5, vmount is a great idea. --- thomas strömberg . system admin, royal institute of technology (stockholm) nobody@darkening.com . irc:nobody@EFnet . talk:nonxstnt@silent.darkening.com real coders don't use comments. It was hard to write; it should be hard to read