This is a multi-part message in MIME format...
------=_NextPartTM-000-a10ef720-7d22-4ce5-9620-1d4916ce3684
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_0028_01C3F566.3B3AE290"
------=_NextPart_000_0028_01C3F566.3B3AE290
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hi ALL,
How to Sort files based on predefined values.?
Normally Sorting happens for the alphabetic or numberic orders..
Is there any way to sort a fields based on the Field values..?
Field10 has :
one
two
three
five
four
six
ten
seven
eight
nine.
in predefined order { one, two, three, four, five, six, seven, eight,
nine, ten}
Its possible in perl or other scripts. But I need a shell script.
Thanks in Advance.
Regards,
P. Prathaban
Stay Connected... ... ...
Software Engineer,
Patni Computer Systems Limited,
Guna Building, 304-305 AnnaSalai,Ch-18.
( : +(91 44) 2431 3261-64 Extn: 499
( : D*C - 82161754
______________________________
Disclaimer: This e-mail message along with attachment, contain Patni GE
Confidential, proprietary & legally privileged information for the sole use
of the person or entity to whom this message was originally addressed. Any
review, e-transmission dissemination or other use of or taking of any action
in reliance upon this information by persons or entities other than the
intended recipient is prohibited. If you have received this e-mail in error
kindly delete this e-mail from your records. If it appears that this mail
has been forwarded to you without proper authority, please notify the sender
and delete this mail. This email (in whole or in part) is not to be
reproduced or furnished to third parties or made public without the prior
express written permission of the sender.
http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
_____________________________________________________________________
This e-mail message may contain proprietary, confidential or legally
privileged information for the sole use of the person or entity to
whom this message was originally addressed. Any review, e-transmission
dissemination or other use of or taking of any action in reliance upon
this information by persons or entities other than the intended
recipient is prohibited. If you have received this e-mail in error
kindly delete this e-mail from your records. If it appears that this
mail has been forwarded to you without proper authority, please notify
us immediately at netadmin@xxxxxxxxx and delete this mail.
_____________________________________________________________________
------=_NextPart_000_0028_01C3F566.3B3AE290
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D443372409-17022004>Hi=20
ALL,</SPAN></FONT></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
<DIV>
<P><BR>How to Sort files based on predefined values.?<BR>Normally Sorting=
=20
happens for the alphabetic or numberic orders..<BR>Is there any way to so=
rt a=20
fields based on the Field values..?=20
<P>Field10 has :<BR>one=20
<BR>two<BR>three<BR>five<BR>four<BR>six<BR>ten<BR>seven<BR>eight<BR>nine.=
=20
<P>in predefined order { one, two, three, four, five, six, seven, eight, =
nine,=20
ten}=20
<P><SPAN class=3D443372409-17022004><FONT face=3DArial size=3D2>Its possi=
ble in perl=20
or other scripts. But I need a shell script.</FONT></SPAN>
<P>Thanks in Advance. <BR></P></DIV>
<DIV> </DIV></BLOCKQUOTE>
<DIV><FONT face=3DArial size=3D2>
<DIV><SPAN class=3D437571012-14012004></SPAN></FONT><FONT face=3DArial=20
size=3D2></FONT> </DIV></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><FONT color=3D#000000>&nbs=
p;</FONT>=20
<DIV><SPAN><SPAN class=3D905463505-14102003><FONT=20
color=3D#ff00ff>Regards,</FONT></SPAN></DIV>
<DIV class=3DSection1>
<DIV><SPAN class=3D905463505-14102003><FONT face=3DGeorgia color=3D#000000>=
<STRONG>P.=20
Prathaban</STRONG></FONT></SPAN></DIV>
<DIV><SPAN class=3D905463505-14102003><FONT face=3D"Palatino Linotype"><EM>=
<FONT=20
size=3D1><FONT color=3D#008000><FONT face=3DVerdana>S</FONT>tay <FONT=20
face=3DVerdana>C</FONT>onnected... ... ...</FONT></FONT></EM></FONT></SPAN>=
</DIV>
<DIV><SPAN class=3D905463505-14102003><FONT face=3D"Palatino Linotype" colo=
r=3D#808080=20
size=3D1><SPAN class=3D905463505-14102003>Software=20
Engineer,</SPAN></FONT></SPAN></DIV>
<DIV><FONT face=3D"Bookman Old Style" color=3D#808080 size=3D1><SPAN=20
class=3D905463505-14102003><STRONG>Patni Computer <SPAN=20
class=3D622403006-14102003>S</SPAN>ystems Limited,</STRONG></SPAN></FO=
NT></DIV>
<DIV><FONT face=3D"Book Antiqua" color=3D#c0c0c0 size=3D1><SPAN=20
class=3D905463505-14102003>Guna Building, 304-305=20
AnnaSalai,Ch-18.</SPAN></FONT></DIV>
<DIV><FONT face=3DFixedsys><SPAN class=3D905463505-14102003><FONT size=3D1>=
<FONT=20
color=3D#c0c0c0><FONT face=3DWingdings>(</FONT><FONT face=3DTahoma> </FONT>=
<FONT=20
face=3D"Book Antiqua">: +(91 44) 2431 3261-64 Extn:=20
499</FONT></FONT></FONT></SPAN></FONT></DIV>
<DIV><FONT face=3DFixedsys><SPAN class=3D905463505-14102003><SPAN=20
class=3D905463505-14102003><FONT size=3D1><FONT color=3D#c0c0c0><FONT=20
face=3DWingdings>(</FONT><FONT face=3DTahoma> </FONT><FONT face=3D"Book Ant=
iqua">: D*C=20
-=20
82161754</FONT></FONT></FONT></SPAN></SPAN></FONT></DIV></DIV></SPAN></FONT=
</DIV><DIV><FONT face=3DArial size=3D2><SPAN=20