Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jan 2007 13:43:28 -0500
From:      "Dak Ghatikachalam" <dghatikachalam@gmail.com>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Korn shell script Question
Message-ID:  <ba29b9b40701311043u74a60268y390c32b5579fdd1d@mail.gmail.com>

Next in thread | Raw E-Mail | Index | Archive | Help
Dear Freebsd'ers


I have a an issue  to address.

in Korn Shell

I have  file_1 containing

1
2
3
4


and I have another file_2 containing

A
B
C
D
E
F
G
H
I

I have use these file_1 and file_2 and generate a file file_3 containing.

A 1
B 2
C 3
D 4
E 1
F 2
G 3
H 4
I  1


I tried with  several looping for some reason I dont seem to get in right in
Korn shell

Any ideas on Ksh would be great, You can use any standard unix utilities to
achieve this.


Thanks
DAk



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?ba29b9b40701311043u74a60268y390c32b5579fdd1d>