Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Awk > Re: Submitted f...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 10 of 13 Topic 2118 of 2341
Post > Topic >>

Re: Submitted for your review: random sampling filters in gawk

by mjc <mjcohen@[EMAIL PROTECTED] > Jan 4, 2008 at 12:12 PM

On Jan 3, 12:25 am, William James <w_a_x_...@[EMAIL PROTECTED]
> wrote:

> This could be changed to
>
>   asorti(newpool, ordered)
>   for (i = 1; i in ordered; i++)
>     print newpool[ordered[i]]
I don't know what the for loop as written would do. It might skip some
values, do some more than once, or even get into an infinite loop.

Use: for(i in ordered)
 




 13 Posts in Topic:
Submitted for your review: random sampling filters in gawk
"steven.huwig@[EMAIL  2008-01-02 20:44:01 
Re: Submitted for your review: random sampling filters in gawk
"steven.huwig@[EMAIL  2008-01-02 21:00:41 
Re: Submitted for your review: random sampling filters in gawk
"Luuk" <luuk  2008-01-03 10:28:56 
Re: Submitted for your review: random sampling filters in gawk
Ed Morton <morton@[EMA  2008-01-04 15:45:48 
Re: Submitted for your review: random sampling filters in gawk
William James <w_a_x_m  2008-01-03 00:25:25 
Re: Submitted for your review: random sampling filters in gawk
Janis Papanagnou <Jani  2008-01-03 10:37:38 
Re: Submitted for your review: random sampling filters in gawk
"Anton Treuenfels&qu  2008-01-03 23:07:19 
Re: Submitted for your review: random sampling filters in gawk
"steven.huwig@[EMAIL  2008-01-03 03:25:09 
Re: Submitted for your review: random sampling filters in gawk
"Luuk" <luuk  2008-01-03 14:35:06 
Re: Submitted for your review: random sampling filters in gawk
mjc <mjcohen@[EMAIL PR  2008-01-04 12:12:40 
Re: Submitted for your review: random sampling filters in gawk
Ed Morton <morton@[EMA  2008-01-04 14:26:25 
Re: Submitted for your review: random sampling filters in gawk
gazelle@[EMAIL PROTECTED]  2008-01-04 21:54:46 
Re: Submitted for your review: random sampling filters in gawk
"steven.huwig@[EMAIL  2008-01-05 20:49:05 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Aug 27 17:35:09 CDT 2008.