首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

linux shell 之read下令

2013-12-26 
linux shell 之read命令?? ???? ??2、从文件中读取??? ??#!/bin/bashcount1cat testfile | while read lin

linux shell 之read命令

?

? ??

?

? ?

?

2、从文件中读取

??

? ??

#!/bin/bashcount=1cat testfile | while read linedo echo "line #$count: $line" count=$[ $count + 1 ]doneecho "finished processing the file"

?

?

?

热点排行