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 > Sorting associa...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 9 Topic 2056 of 2341
Post > Topic >>

Sorting associative arrays

by Greg Michael <gmichae@[EMAIL PROTECTED] > Oct 30, 2007 at 11:30 AM

Hello, I'm having some difficulties sorting an associative array. I have 
   a project that I'm working on which requires me to write my scripts 
in a UNIX for Windows environment. I have gawk version 3.0.4, but I'm 
not able to use the asort function to sort my array. I'm having 
difficulties getting the contents to be read back from the array in the 
order in which they were entered, which was numerically sorted from 
lowest to highest.

Does anyone have a quick function that will allow me to get this 
working? Any other suggestions?

Thanks in advance!
 




 9 Posts in Topic:
Sorting associative arrays
Greg Michael <gmichae@  2007-10-30 11:30:47 
Re: Sorting associative arrays
gazelle@[EMAIL PROTECTED]  2007-10-30 17:03:52 
Re: Sorting associative arrays
Greg Michael <gmichae@  2007-10-30 16:11:53 
Re: Sorting associative arrays
gazelle@[EMAIL PROTECTED]  2007-10-30 21:23:51 
Re: Sorting associative arrays
Greg Michael <gmichae@  2007-10-30 17:34:24 
Re: Sorting associative arrays
Ted Davis <tdavis@[EMA  2007-10-30 19:20:45 
Re: Sorting associative arrays
Doug McClure <Dee_Kay_  2007-10-30 23:43:48 
Re: Sorting associative arrays
Greg Michael <gmichae@  2007-10-31 11:31:39 
Re: Sorting associative arrays
Ed Morton <morton@[EMA  2007-11-01 03:00:30 

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:59:04 CDT 2008.