Sunday, October 14, 2007

open your files from a find command in emacs/vi or your favorite editor

For those shell experts this is obvious:

emacs `find . -name *.java`
vi `find . -name *.cpp`
etc...


Notice the back-quote which is one of the forms of command substitution.

More about Command Substitution here



keywords: open all files from find command, using find with emacs, using find with vi, find, bash, shell, Command Substitution, open multiple files with emacs, vi.

148 comments: