Subject: Re: join: too many non-option arguments
To: None <tech-toolchain@netbsd.org>
From: Frederick Bruckman <fredb@immanent.net>
List: tech-toolchain
Date: 12/31/2004 04:50:14
In article <Pine.LNX.4.60.0412301026530.31074@construct.ts-local.net>,
	Jesse Off <joff@embeddedARM.com> writes:
> Attempting a cross-build on a Linux gentoo box and get an error from what 
> seems to be the GNU textutils "join" that Linux uses.  Build seems to 
> continue okay however..  Perhaps need to add an "nbjoin" to the tools?

Ouch. How about if we just have "lorder" use the POSIX syntax? Does this
help...?


Index: usr.bin/lorder/lorder.sh
===================================================================
RCS file: /cvsroot/src/usr.bin/lorder/lorder.sh,v
retrieving revision 1.12
diff -u -r1.12 lorder.sh
--- usr.bin/lorder/lorder.sh	14 Sep 2002 05:00:58 -0000	1.12
+++ usr.bin/lorder/lorder.sh	31 Dec 2004 04:47:16 -0000
@@ -106,4 +106,4 @@
 # join on that field, and print out the file names.
 sort +1 $R -o $R
 sort +1 $S -o $S
-join -j 2 -o 1.1 2.1 $R $S
+join -j 2 -o 1.1 -o 2.1 $R $S


Frederick