我使用了: find ~/web_project -name "config_*.php" -print | xargs vim 在vim中,任何东西都可以。但是,如果退出vim,终端会冻结。我的环境:osx 10.6,macvim
vim $(find ~/web_project -name "config_*.php") 经常我想先检查我的find命令,因此:find ~/web_project -name "config_*.php" vim $(!!)
$ vim \
find ~/web_project -name "config_*.php"``。 - wallyk