On 9/10/07, Brian Dessent <[EMAIL PROTECTED]> wrote: > James Youngman wrote: > > > While that is true, those utilities already coped with the space > > character (for example, with "find -print" and "xargs -L"). > > xargs cannot cope with filenames containing spaces without -0/-print0. > > $ echo -e "one two\nthree four" | xargs showargs > argv[0] = 'showargs' > argv[1] = 'one' > argv[2] = 'two' > argv[3] = 'three' > argv[4] = 'four' > > I don't see how the xargs -L option has anything to do with the > situation.
I beg your pardon. Of course I meant -I. $ printf "one two\nthree four\n" | xargs -I {} showargs {} argv[0] = /home/youngman/bin/showargs argv[1] = one two argv[0] = /home/youngman/bin/showargs argv[1] = three four James. _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils