Open GoogleCodeExporter opened 9 years ago
Original comment by ryandesi...@gmail.com
on 8 Jan 2009 at 1:49
On gnu systems use -I
$ svn diff Makefile
Index: Makefile
===================================================================
--- Makefile (revision 258)
+++ Makefile (working copy)
@@ -75,7 +76,7 @@
endef
examples-images: $(EXAMPLE_GRAPH_IMAGES_DIR)
- $(FIND) $(EXAMPLE_GRAPHS_SRC_DIR) -type f -name '*.gif' -or -name
'*.jpg' -or
-name '*.png' -print0 | $(XARGS) -0 -t -n 1 -J % cp %
$(EXAMPLE_GRAPH_IMAGES_DIR)
+ $(FIND) $(EXAMPLE_GRAPHS_SRC_DIR) -type f -name '*.gif' -or -name
'*.jpg' -or
-name '*.png' -print0 | $(XARGS) -0 -t -n 1 -I % cp %
$(EXAMPLE_GRAPH_IMAGES_DIR)
Original comment by mrk...@gmail.com
on 19 Jan 2009 at 11:18
Thanks, done in r259. The problem is it doesn't fix the issue for Ron, whose GNU
xargs is too old to have the -I option. I'm thinking of forgoing xargs and
using a
for loop instead. Thoughts? Other ideas?
Original comment by ryandesi...@gmail.com
on 20 Jan 2009 at 10:53
Can't use just use -exec in the find command. I don't see xargs as adding any
value. I too, have an old args command.
Original comment by briane...@gmail.com
on 26 Mar 2010 at 1:29
Original issue reported on code.google.com by
ryandesi...@gmail.com
on 6 Jan 2009 at 9:43