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