A
A
Atraides2018-08-27 14:38:30
bash
Atraides, 2018-08-27 14:38:30

Bash writing value to desired column of desired row?

Greetings, sorry for the stupid question, there is a piece of code:
awk 'NR == 2{print$2}'
Prints the 2nd column of the 2nd line. How and on what to do the reverse procedure, I need to write a value in, say, the 3rd column of the 3rd row, as far as I understand, AWK is only suitable for reading?
There is some text from the source data, with separators as spaces, you need to implement data transfer to different cells.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Atraides, 2018-08-28
@Atraides

nick3ero thanks for the answer, but for some reason line wrapping doesn't work \n
5b84f1ffa84b5945053982.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question