Korn shell script Question

Dak Ghatikachalam dghatikachalam at gmail.com
Wed Jan 31 18:43:29 UTC 2007


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


More information about the freebsd-questions mailing list