while read file

637阅读 0评论2011-08-08 mychz2011
分类:LINUX

  1. while read f
  2. do
  3. echo "Line is $f"
  4. done < file.txt
  5. 这个程序实现了按行循环读取某个文件
上一篇:inode cache Analysis
下一篇:Get Field With Delimiter