awk -simple doubt
hey guys,
i hav got two files as follows
file1.txt
bss:1
bss:2
bss:3
bss:4
bss:5
file2.txt
db1
db2
db3
db4
db5
i m reading the first file using a for loop
so when i read the first line in file1.txt (ie bss:1) i need to get
the corresponding one in file2 (ie. db1)
like wise till db5 when i reads bss:5
how can i implemnt it usig an awk with in a for loop?
thanks in advance
|