Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by pter

  1. pter

    hitting return once does not execute awk script

    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...
  2. pter

    hitting return once does not execute awk script

    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...

Part and Inventory Search

Back
Top