Discussion: awk help-simple doubt
Afficher un message
Vieux 15/03/2008, 21h37   #1
varkey@changingideas.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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

  Réponse avec citation
 
Page generated in 0,04557 seconds with 9 queries