Reputation: 2559
I have a matrix of mxn. I want to replace the pattern1
with a word and that pattern is at row 3, column 4.
How can I do that?
So far... I know how to acces to the value at row 3 and column 4:
awk 'NR==3' $1 | awk -vvar="4" '{print $var}'
But ... how can I replace that pattern located at that cell?
Upvotes: 0
Views: 140