Search Results

Search: Posts Made By: Alice236
3,359
Posted By radoulov
If I understand correctly, you could use...
If I understand correctly, you could use something like this:

awk 'END { print at/bt }
NR == FNR {
/out/ && o[++i] = $1
if (/in/ && $2 != p2) {
r[o[1]] = o[i]; i = 0
}
p1 = $1;...
1,882
Posted By rdcwayx
awk -F"[.| ]" 'NR==FNR{a[$1]=$3;next} a[$1]=="in"...
awk -F"[.| ]" 'NR==FNR{a[$1]=$3;next} a[$1]=="in" ' file1 file2

903.14356 12
906.00001 18
909.28645 20
3,930
Posted By Corona688
I take it you're building ns2 in the background,...
I take it you're building ns2 in the background, then? (otherwise I wouldn't have a clue why a network simulator would be using gcc.) If so you can just run make -j2 to have it use both cores. -j4...
5,327
Posted By Scrutinizer
Hi Alice236, Welcome to this forum. There is...
Hi Alice236,

Welcome to this forum. There is no need to use getline. I am not sure if I fully understand why you would want to split the file and then subsequently read them again.. What is your...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 08:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy