[prev in list] [next in list] [prev in thread] [next in thread]
List: netbsd-tech-toolchain
Subject: Re: join: too many non-option arguments
From: fredb () immanent ! net (Frederick Bruckman)
Date: 2004-12-31 5:41:39
Message-ID: cr2oqj$mn2$1 () sea ! gmane ! org
[Download RAW message or body]
In article <cr2lq6$89t$1@sea.gmane.org>,
fredb@immanent.net (Frederick Bruckman) writes:
> 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...?
Actually, SUSEv3 says nothing about multiple "-o" arguments, so this would
be better:
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:52:24 -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,2.1 $R $S
(Still not tested at all.)
Frederick
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic