My goal is to create a column of 0s and 1s and write it to a file (which works by hitting return twice). Once I have this file, I would like to process it with short awk scripts further (by adding more columns of data).
Finally, I would like collect some statistics from the resulting file (in...
Hello Forum,
I work under linux kernel 2.6.20-1.2320.fc5
I wrote an awk script (named prim_fail) for generating a sequence of draws from a binomial distribution:
BEGIN {
srand()
}
{ for(i=1;i<=100;i++)
{ if (rand()<0.2)
print $1=1...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.