From owner-freebsd-current Mon Sep 23 23:57:12 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 039FF37B401 for ; Mon, 23 Sep 2002 23:57:11 -0700 (PDT) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7ADB343E81 for ; Mon, 23 Sep 2002 23:57:10 -0700 (PDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: from khavrinen.lcs.mit.edu (localhost [IPv6:::1]) by khavrinen.lcs.mit.edu (8.12.3/8.12.5) with ESMTP id g8O6v9Vo086708 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK) for ; Tue, 24 Sep 2002 02:57:09 -0400 (EDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.12.3/8.12.5/Submit) id g8O6v9aU086705; Tue, 24 Sep 2002 02:57:09 -0400 (EDT) (envelope-from wollman) Date: Tue, 24 Sep 2002 02:57:09 -0400 (EDT) From: Garrett Wollman Message-Id: <200209240657.g8O6v9aU086705@khavrinen.lcs.mit.edu> To: current@FreeBSD.org Subject: `lorder' problem Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Anyone experiencing this problem might want to try the following (beware cut&paste). I still don't understand why it is that I don't see it. Is there a hidden build dependency? (I.e., does `sort' need to be added to the list of build-tools?) I'm to tired right now to look at ncurses, but it should be easy to figure out by looking at the manual page for `sort', or by simply aping this example. -GAWollman Index: lorder.sh =================================================================== RCS file: /home/cvs/src/usr.bin/lorder/lorder.sh,v retrieving revision 1.4 diff -u -r1.4 lorder.sh --- lorder.sh 6 Mar 2001 15:00:32 -0000 1.4 +++ lorder.sh 24 Sep 2002 06:53:15 -0000 @@ -79,7 +79,7 @@ # sort symbols and references on the first field (the symbol) # join on that field, and print out the file names. -sort +1 $R -o $R -sort +1 $S -o $S +sort -k 2 $R -o $R +sort -k 2 $S -o $S join -j 2 -o 1.1 2.1 $R $S rm -f $R $S To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message