Re: "argument list too long"

2 messages, 2 authors, 2006-01-04 · open the first message on its own page

Re: "argument list too long"

From: Wolfgang Denk <hidden>
Date: 2006-01-04 13:36:18

In message <1136380085.15908.15.camel@localhost> you wrote:
quoted
+	find $(FINDHPATH) \( -name SCCS -o -name .svn \) -prune -o -follow -name \*.h ! -name modversions.h -print | xargs scripts/mkdep -- > .hdepend
 	scripts/mkdep -- init/*.c > .depend
Would'nt this overwrite .depend if xargs executes mkdep more than once?
No, why should it? The filr eredirection happens just  once,  in  the
shell,  even before xargs gets executed. It does not matter how often
mkdep gets called then.
I'd suggest (beware, manually hacked diff ;):
I have no idea what you're trying to fix or improve with this.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
For every complex problem, there is a solution that is simple,  neat,
and wrong.                                               - Mark Twain

Re: "argument list too long"

From: Stefan Eletzhofer <hidden>
Date: 2006-01-04 13:53:54

Am Mittwoch, den 04.01.2006, 14:36 +0100 schrieb Wolfgang Denk:
In message <1136380085.15908.15.camel@localhost> you wrote:
quoted
quoted
+	find $(FINDHPATH) \( -name SCCS -o -name .svn \) -prune -o -follow -name \*.h ! -name modversions.h -print | xargs scripts/mkdep -- > .hdepend
 	scripts/mkdep -- init/*.c > .depend
Would'nt this overwrite .depend if xargs executes mkdep more than once?
No, why should it? The filr eredirection happens just  once,  in  the
shell,  even before xargs gets executed. It does not matter how often
mkdep gets called then.
Gah. You're right, of course ;/ 
quoted
I'd suggest (beware, manually hacked diff ;):
I have no idea what you're trying to fix or improve with this.
"problem is in front of keyboard" Oder so.
Best regards,

Wolfgang Denk
-- 
Stefan Eletzhofer
InQuant GmbH
Bahnhofstraße 11
D-88214 Ravensburg
http://www.inquant.de
http://www.eletztrick.de
+49 (0) 751 35 44 112
+49 (0) 171 23 24 529 (Mobil)
+49 (0) 751 35 44 115 (FAX)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help