Hi PHV,
This worked but what happens if I have a file that has multiple lines, each of those have a few filed. Here's example file:
db1 user1 pass1
db2 user2 pass2
db3 user3 pass3
this file is called db_definition.
I need to do, for each record, declare DB=$1, USER_NAME=$2, PSW=$3 and then...