Seed=1 Tmp=$HOME/tmp cd .. pgawk --dump-variables=$Tmp/vars \ --profile=$Tmp/prof \ -f cbr.awk --source ' END { P=5 K1=5 K2=15 projects(Train,P,New) neighbors(P,New,Train[0],Train,Neighbors,Memos) knn(K1+K2,P,Neighbors,Memos,Ks) bestRest(Ks,K1, Best,Rest) saya(Best,"best") saya(Rest,"rest") } ' Seed=$Seed nasa93.dat nasa93.proj1