Here's what I'm trying to accomplish. (Pardon the simplicity of my request, but I'm not very good at perl yet...)
I have a very large space (20+ mb) delimited text file that looks something like this
20510 78136 77936 78133 etc...
20626 78114 78115 78116 etc...
And I'd like to find a little set of numbers down in row #367
20510 78136 77936 78133 etc...
and change it to this
20510 78136 99999 78133 etc...
The 77936 is not unique (it occurs in the same column in the row above it), so I'm trying to write a script that finds this:
"78136 77936"
and replaces it with
"78136 99999"
It's just one spot in the file. And the 78136 is unique.
I'm assuming this is pretty simple, but so far I haven't been able to get it to work. Any thoughts?
Thanks!
I have a very large space (20+ mb) delimited text file that looks something like this
20510 78136 77936 78133 etc...
20626 78114 78115 78116 etc...
And I'd like to find a little set of numbers down in row #367
20510 78136 77936 78133 etc...
and change it to this
20510 78136 99999 78133 etc...
The 77936 is not unique (it occurs in the same column in the row above it), so I'm trying to write a script that finds this:
"78136 77936"
and replaces it with
"78136 99999"
It's just one spot in the file. And the 78136 is unique.
I'm assuming this is pretty simple, but so far I haven't been able to get it to work. Any thoughts?
Thanks!