RE: How to rearrange columns

2004-02-06 Thread david
Shiping Wang wrote: [snip] >> >>#-- >>#-- header >>#-- >>print join("\t",(split /\s+/,$line)[EMAIL PROTECTED]@c}]),"\n"; # Although I can >>guess >>this piece of code do the sorting then print out, but don't quite >>understand how it works, especially [EMAIL PROTECTED]@c}]. no sorting is happen

RE: How to rearrange columns

2004-02-06 Thread Shiping Wang
At 03:31 PM 2/5/2004 -0800, david wrote: Shiping Wang wrote: > Hi David, thanks for your response. > > My concern is that if the data has hundreds columns (which the order > information I can get from another array or file) need to be rearranged, > how can I do it. > > Here is my test program, it

RE: How to rearrange columns

2004-02-05 Thread david
Shiping Wang wrote: > Hi David, thanks for your response. > > My concern is that if the data has hundreds columns (which the order > information I can get from another array or file) need to be rearranged, > how can I do it. > > Here is my test program, it seems working. Any suggestion or concer

RE: How to rearrange columns

2004-02-05 Thread Shiping Wang
Hi David, thanks for your response. My concern is that if the data has hundreds columns (which the order information I can get from another array or file) need to be rearranged, how can I do it. Here is my test program, it seems working. Any suggestion or concern??? Shiping ___