|||
Sometimes, if you want to find a certain sentence or words in several documents. You can use the command of grep.
For example, if I want to find a word "fortran" in several files "*.f, *.for", I can use the command,
grep -i "fortran" *.f *.for
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-7-28 00:37
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社