Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Sep 2002 02:57:09 -0400 (EDT)
From:      Garrett Wollman <wollman@lcs.mit.edu>
To:        current@FreeBSD.org
Subject:   `lorder' problem
Message-ID:  <200209240657.g8O6v9aU086705@khavrinen.lcs.mit.edu>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209240657.g8O6v9aU086705>