请问专家for i in cat -tmp-listfile循环 应该怎么写
(2013-04-16 22:58:49)
标签:
专家
cat
杂谈
请问专家for i in cat /tmp/listfile循环 应该怎么写回复 #1 joyprince 的帖子for i in
$( echo $line
done刚才实验了一下。
在bash中,
while read line;do echo $line;done < file.txt 可以逐行读入。
for line in `
for line in `
olive:~/tmp> cat read.txt
BooX Viewer 1.0 beta
=============================================
Momotalo, 2003/3/7
Introduction:
---------------------------------------------
BooX Viewer is an e-book viewer designed for PDG
file from SuperStar Online Library.The code is
developed independently of SuperStar Inc. The
copyright issues is clearly stated in the "About..."
olive:~/tmp>
olive:~/tmp> while
童童中天的博客http://gpphj.changy.sinaapp.com/"
title="嘉婉冬婉的博客" target="_blank ">嘉婉冬婉的博客它对空格的处理很好设置IFS就好了。用“`”
分享:
喜欢
0
赠金笔
加载中,请稍候......
评论加载中,请稍候...
发评论
登录名: 密码: 找回密码 注册记住登录状态
昵 称:
评论并转载此博文
发评论
以上网友发言只代表其个人观点,不代表新浪网的观点或立场。