Hi,
I have 2 input files like :
File A:
******** ************************
000001 AAAAAAAAAAA
000002 BBBBBBBB
000003 CCCCCCCCC
000004 DDDDDDDDDDD
000005 EEEEEEEEEEEEEEEEE
000006 FFFFF
000007 GG
000008 HHHHHHH
******** ************************
File B:
******** ************************
000001 47215
******** ************************
I need to extract the lines from the File A, in the order as mentioned in the File B.
My output would need to look something like
File C:
******** ************************
000001 DDDDDDDDDDD (4th line)
000002 GG (7th line)
000003 BBBBBBBB (2nd line)
000004 AAAAAAAAAAA (1st line)
000005 EEEEEEEEEEEEEEEEE (5th line)
******** ************************
Any idea how this can be done using a simple ICETOOL or a DFSORT job ??
Thanks!!