HI!
Part of my script is to read some input file and extract some info like:
Part of my script is to read some input file and extract some info like:
Code:
nwells = 0
while ( ( getline < inputfile ) > 0 ) {
nwells++
common[nwells] = $3
uwi[nwells] = $7
}
[\code]
the inputfile looks like
Well Name: Adzva-Vost 1 Unique Well ID: WB268736
The problem is that the well name like "Adzva-Vost 1" in this case can have spaces in the name so common[nwells] = $3 only picks up part of the name. How can I deal with this?
Thanks!