I have a file and I wish to replace a specific column if it contains a value to another value
An example is below:
Input file
222222
121111
323333
I wish to replace the "2" in the 2nd column to a "9" , all other columns remain intact, so the output looks like this:
299999
191111
393333
Thanks
An example is below:
Input file
222222
121111
323333
I wish to replace the "2" in the 2nd column to a "9" , all other columns remain intact, so the output looks like this:
299999
191111
393333
Thanks