On 5/18/2011 9:54 AM, Jason Pyeron wrote: >> -----Original Message----- >> From: [email protected] >> [mailto:[email protected]] On Behalf Of Bowie Bailey >> Sent: Wednesday, May 18, 2011 9:55 >> You can also do this: >> >> $ vim `ls -1 *.txt` >> >> or this: >> >> $ vim `find /some/dir -name '*.txt'` >> >> It works with any command that outputs a list of filenames. > Until you have a space in a filename.
True. But unless vim has a null-separator option for command line arguments, I don't know of a way to automate that case. -- Bowie _______________________________________________ CentOS mailing list [email protected] http://lists.centos.org/mailman/listinfo/centos

