On Fri, 29 May 2009 02:55:28 +1000, Philip Rhoades wrote: > Gary, > > > On 2009-05-29 02:50, Gary Johnson wrote: >> On 2009-05-28, Gene Kwiecinski wrote: >> >>> Sorry, deleted the original email, gotta reply to something else... >> >> You couldn't just create a new thread? >> >>> What about just plain 'vim *' on the command line? Some reason that >>> doesn't work? >> >> That works fine for simple cases where the file names match some >> pattern, but it doesn't work for cases where you want to edit the files >> that result from some complicated search pipeline such as this one: >> > > find include src -name \*.[ch] -mtime -3 -print > > > vim `find include src -name \*.[ch] -mtime -3 -print | xargs` > > Regards, > > Phil.
Piping through xargs is a no-op in this case. vim `find include src -name \*.[ch] -mtime 3 -print` is what you want -- Chanoch (Ken) Bloom. PhD candidate. Linguistic Cognition Laboratory. Department of Computer Science. Illinois Institute of Technology. http://www.iit.edu/~kbloom1/ --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
