如何将grep搜索的结果传递到新的vi文件中
我grep -e Peugeot -e PeuGeot carlist.txt用来搜索carlist.txt并提取一些项目,我grep -e Peugeot -e PeuGeot carlist.txt | vi想这会通过管道传递给我,但这就是我得到的: Vim: Warning: Input is not from a terminal Vim: Error reading input, exiting... Vim: preserving files... Vim: Finished.