On Sat, Oct 15, 2011 at 03:45, Lemon wrote:
> Many thanks to Shlomi and Paul,
>
>
> I need to read sort manual and map manual.
>
yes, that's a good place to start.
but, just because i like being different and because i really enjoy
the power of this simple little module:
perl -e 'use List::Util
Many thanks to Shlomi and Paul,
Shlomi gave the solution for @array[@a,@b] (@a=(1, 7, 54, 2), @b(2, 89,
78, 33) ), for my case two array may be esay to deal with.
I need to read sort manual and map manual.
Meng Ni
On Fri, Oct 14, 2011 at 11:16 PM, Paul Johnson wrote:
> On Thu, Oct 13, 20
On Thu, Oct 13, 2011 at 02:39:52AM -0700, Lemon wrote:
> Dear all,
>
> I want to sort data set like this
>
> (@a, @b)
> 1,21,2
> 7,89=> 2,33
> 54,787,89
> 2,33
On Fri, Oct 14, 2011 at 4:32 PM, Shlomi Fish wrote:
> On Thu, 13 Oct 2011 02:39:52 -0700 (PDT)
> Lemon wrote:
>
> > Dear all,
> >
> > I want to sort data set like this
> >
> > (@a, @b)
> > 1,21,2
> > 7,89=> 2,33
> >
On Thu, 13 Oct 2011 02:39:52 -0700 (PDT)
Lemon wrote:
> Dear all,
>
> I want to sort data set like this
>
> (@a, @b)
> 1,21,2
> 7,89=> 2,33
> 54,787,89
> 2,33
Dear all,
I want to sort data set like this
(@a, @b)
1,21,2
7,89=> 2,33
54,787,89
2,33 54,78
I know that linux command sort can do t