Search Results

Search: Posts Made By: setepo
42,224
Posted By setepo
It works! Thank You.
It works!

Thank You.
42,224
Posted By setepo
I want to replace always second value in second...
I want to replace always second value in second row.

My real input data has thousands of rows and about 20 columns with different numbers. In every file I want to replace value in specific field...
42,224
Posted By setepo
Thanks, it works. But I have set of data...
Thanks, it works.

But I have set of data and in every file instead of "x" is different number. I need to clear this field and after that fill with new value for example 100 (for all data sets).
...
42,224
Posted By setepo
awk how to replace specific field with new value
I need to replace specific field (x) in a table with new value (y):


Input:

1 2 3 4
5 x 6 7
8 9 0 0


Output:

1 2 3 4
5 y 6 7
8 9 0 0


I have no idea how to do this.
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 07:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy