shell:逐行读取文件内容
文件a1内容如下:

方法1:for循环

方法2:while循环

方法3:管道+while循环

方法4:限定读的行数

posted on 2017-09-25 10:10 seabiscuit0922 阅读(424) 评论(0) 收藏 举报
文件a1内容如下:

方法1:for循环

方法2:while循环

方法3:管道+while循环

方法4:限定读的行数

posted on 2017-09-25 10:10 seabiscuit0922 阅读(424) 评论(0) 收藏 举报