Search Results

Search: Posts Made By: Surabhi_so_mh
3,603
Posted By Surabhi_so_mh
Thanks it works.
Thanks it works.
3,603
Posted By Surabhi_so_mh
How to subtract a number from all columns?
Hi,
I want to subtract a number from all columns except the first column. I have a number of files each having different columns around 60/70. How to do that in awk or any other command?
Thanks
...
4,094
Posted By Surabhi_so_mh
thanks
thanks
4,094
Posted By Surabhi_so_mh
Arithmetic operation between columns using loop variable
Hi
I have a file with 3 columns. say,
infile:
1 50 68
34 3 23
23 4 56
-------
-------

I want to generate n files from this file using a loop so that 1st column in output file is...
1,715
Posted By Surabhi_so_mh
Thanks.. It helped
Thanks..
It helped
1,715
Posted By Surabhi_so_mh
Update file to add as last column
I need to update a text file within a loop so that the value is added creating a new column at the end. I cannot use paste because I dont know the number of files. If I use >> the value is added...
3,203
Posted By Surabhi_so_mh
I works. Thank you
I works. Thank you
3,203
Posted By Surabhi_so_mh
How to print column based on row number
Hi,
I want to print column value based on row number say multiple of 8.

Input file:
line 1 67 34
line 2 45 57
. . .
. . .
line 8 12 46
. . .
. . .
line 16 24 90
. . .
. . .
line...
Showing results 1 to 8 of 8

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