由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - awk question, looking for help
相关主题
Tomcat 3.1 + apache 1.3.9一问multi-view terminal in sunos5.8?
what's wrong with my CXterm5.0?请问VIM在SSH里面能用不同的颜色highlight syntax
a low_hand_question about emacs.[转载] How to use debugger xdb?
a silly question?提示我 too many ('s 怎么办?
Questions about KornShella painful problem
Consult to perl expert为什么从家里连到学校的机子上工作这么慢? (转载)
how to display color for java or c mode in xemacs怎样打印出grep后的部分内容?
[转载] [Q] sh under Redhat9.0vi tutorial 5
相关话题的讨论汇总
话题: awk话题: near话题: line话题: syntax话题: error
进入Unix版参与讨论
1 (共1页)
l****n
发帖数: 22
1
I am new to use awk. I download the following awk script which assumed to be
correct, but...
When i run awk -f endtoend.awk new.tr > delay.txt
the output are
awk: syntax error near line 1
awk: illegal statement near line 1
awk: syntax error near line 2
awk: illegal statement near line 2
awk: syntax error near line 3
awk: bailing out near line 3
Can anyone tell me what's wrong? Thanks in advance
endtoend.awk
BEGIN {
highest_packet_id = 0;
}
{
action = $1;
time = $2;
node_1 = $3;
node_2 = $4;
src
1 (共1页)
进入Unix版参与讨论
相关主题
vi tutorial 5Questions about KornShell
file descriptorConsult to perl expert
FreeBSD下,怎么给一个用户增加grouphow to display color for java or c mode in xemacs
在UNIX里,怎么stop a set of processes?[转载] [Q] sh under Redhat9.0
Tomcat 3.1 + apache 1.3.9一问multi-view terminal in sunos5.8?
what's wrong with my CXterm5.0?请问VIM在SSH里面能用不同的颜色highlight syntax
a low_hand_question about emacs.[转载] How to use debugger xdb?
a silly question?提示我 too many ('s 怎么办?
相关话题的讨论汇总
话题: awk话题: near话题: line话题: syntax话题: error