Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!maverick.ksu.ksu.edu!ux1.cso.uiuc.edu!uwm.edu!wuarchive!sdd.hp.com!usc!apple!well!gregs From: gregs@well.sf.ca.us (Greg Strockbine) Newsgroups: comp.unix.shell Subject: xargs, how to use Message-ID: <23003@well.sf.ca.us> Date: 5 Feb 91 05:56:07 GMT Distribution: usa Lines: 8 I read in a book that you can use xargs to do the same thing to a bunch of files one at a time. So I tried it on my Ultrix system using bash1.04, sh, and csh and they all barfed. I even consulted the man page but no go. I tried something like this: ls -1 | xargs -i cp {} old.{} basically all the shells complained about the {}. So what gives, how do you use this thing anyway. What about repeat in the csh, how does that work?