also sprach dman <dsh8290@rit.edu> [2002.01.08.2343 +0100]: > | sure, that will read the output of the find command into vi, iff you > | actually omit the xargs. > > Yeah, but you didn't omit xargs :-). because i wanted to use it. i wanted it to provide filenames to vi the same way that find . -name Root | xargs rm would actually create a command invocation of rm with all the outputs of the find command provided as arguments as if they'd been typed on the command line. vi - *reads* the payload from stdin. i wanted to read the filenames to load with vi from stdin, that's why i *need* xargs. but if you do what you wanted: fishbowl:~> find . -maxdepth 1 -name .muttrc | xargs vi - VIM - Vi IMproved 6.0 (2001 Sep 26, compiled Dec 12 2001 15:44:32) Too many edit arguments: "./.muttrc" More info with: "vim -h" okay, vim, sorry. -- martin; (greetings from the heart of the sun.) \____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck "information superhighway" is just an anagram for "i'm on a huge wispy rhino fart".
Attachment:
pgpVHArboPItr.pgp
Description: PGP signature