Hey,
I want to use information from another file in my script so I used this code
BEGIN {
while (getline < "dict.txt" > 0) {
dict[$1, $2] = $3
}
close ("dict.txt"
}
to make an array of this file. Then I've put this file on the command line.
But now my script first prints this dict.txt and that's not what I want. If you understand me you may be able to help.
I want to use information from another file in my script so I used this code
BEGIN {
while (getline < "dict.txt" > 0) {
dict[$1, $2] = $3
}
close ("dict.txt"
}
to make an array of this file. Then I've put this file on the command line.
But now my script first prints this dict.txt and that's not what I want. If you understand me you may be able to help.