hi all

i am writing the korn shell script.
i have a SQL script which gives me the folowing output

DSA.WLG.20050713211544.20051025.20050713211544 28991 1130198400
DSA.WLG.20050713211544.20051025.20050713211544 25881 1130198400
DSA.WLG.20050711210100.20051025.20050711210100 25881 1130198400
DSA.WLG.20050711210100.20051025.20050711210100 28991 1130198400



i have to write a korn shell script which will move the

DSA.WLG.20050713211544.20051025.20050713211544 SA.WLG.20050713211544.20051025.20050713211544
DSA.WLG.20050711210100.20051025.20050711210100
DSA.WLG.20050711210100.20051025.20050711210100

the above to a folder say /home/pav and

28991 1130198400
25881 1130198400
25881 1130198400
28991 1130198400

the above to a different folder say /home/ssk


can anyone help me please

thanks