On Mon, Feb 19, 2007 at 05:34:31PM +0100, Corinna Vinschen wrote: > > >maybe I'm being dense, but xargs does not seem to do what > > >it should: > > > > xargs only calls the command (echo in this case) once, with > > all the given arguments. (It will call it more than once > > only if calling it once would be a too-long command line.) > > > > If you want a command run once for each item in a list of > > things, use a for loop: > > ...or `xargs -n 1'
Which btw is obnoxiously slow on Cygwin for some weird-unknown reason. A better alternative to xargs on cygwin: printf "%s\n" `command` -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

