Vim: warning: Input is not from a terminal

#!/bin/basn cat file.txt > tmp.txt cat tmp.txt | while read line do vim -c :%s/abc/$line/g ./file2.txt done rm tmp.txt 运行以上脚本时, 出现  Vim: warning: Input is not from a terminalvim 解决办法:code #!
相关文章
相关标签/搜索