martin f krafft wrote: > > also sprach dman <[EMAIL PROTECTED]> [2002.01.09.0231 +0100]: > > | echo .muttrc | vim - > > > > ls .muttrc | xargs vim > > aha, the '-' is the problem. > > > I didn't think that would work (once I straightened out my > > understanding of the stdin stuff), but it does. > > yeah, it surprises me too... oh well. vim seems to be smart... > > so, to close this thread: find . -name Root | vim > Not so fast! Using vim 5.3, I get:
ls my.txt | vim Vim: Warning: Input is not from a terminal Empty buffer Vim: Error reading input, exiting... Vim: preserving files... Vim: Finished. Also, ls my.txt | xargs vim Vim: Warning: Input is not from a terminal Then it looks like it's editing the file, but hoses up my telnet session, etc. Is it because I'm telnetted? I have no idea...