[转载] shell programming and awk questions# Unix - 噫吁兮,危乎高哉
r*r
1 楼
【 以下文字转载自 Programming 讨论区,原文如下 】
发信人: ruisher (aa), 信区: Programming
标 题: shell programming and awk questions
发信站: Unknown Space - 未名空间 (Fri Feb 27 22:40:45 2004) WWW-POST
I have a file, which contains lots of fiels.But I only care about two fields,
one is ID field ,the other is score field.For example, ID should begin with
"b", score should be greater than 0.5.So how to write the script?
I try to use C shell and awk together, but the problem is, after I grep and
get the tempory file, how do I p
发信人: ruisher (aa), 信区: Programming
标 题: shell programming and awk questions
发信站: Unknown Space - 未名空间 (Fri Feb 27 22:40:45 2004) WWW-POST
I have a file, which contains lots of fiels.But I only care about two fields,
one is ID field ,the other is score field.For example, ID should begin with
"b", score should be greater than 0.5.So how to write the script?
I try to use C shell and awk together, but the problem is, after I grep and
get the tempory file, how do I p