Search Results

Search: Posts Made By: Adfire
2,239
Posted By Adfire
I am sorry i have typed wrong example.I have...
I am sorry i have typed wrong example.I have corrected example now please check.
2,239
Posted By Adfire
Sum duplicate values in text file through awk between dates
I need to sum values in text file in case duplicate row are present with same name and different value below is example of data in file i have and format i need.


Data in text file


20170308...
3,690
Posted By Adfire
Hi Ravinder Could you please explain the code...
Hi Ravinder
Could you please explain the code if possible? Thanks in advance.
1,707
Posted By Adfire
I don't have it right now.
I don't have it right now.
1,707
Posted By Adfire
I am pretty new to unix tried few solution from...
I am pretty new to unix tried few solution from google .So looking for some help.
1,707
Posted By Adfire
I need to sum of values (Third column) for rows...
I need to sum of values (Third column) for rows having same name (column 1 and column 2) it should sum only within that date range.
Refer my example .I tried to do this with awk but no luck
1,707
Posted By Adfire
Sum value in text file
I need to sum values in text file in case duplicate row are present with same name and different value below is example of data in file i have and format i need.


Data in text file

20170308...
3,690
Posted By Adfire

3,690
Posted By Adfire
Hi thanks for your reply it's working now.Now i...
Hi thanks for your reply it's working now.Now i need to add sum (Total).Example below


20170308
PM,Total,246
PM,I,123
PM,U,123
DA,Total,135
DA,I,113
DA,U,22
20170309
PM,Total,246...
3,690
Posted By Adfire
Sort data in text file in particular format
I have to sort below output in text file in unix bash

20170308
DA,I,113
20170308
PM,I,123
20170308
DA,U,22
20170308
PM,U,123
20170309
DA,I,11
20170309
PM,I,23
20170309
DA,U,123...
6,454
Posted By Adfire
Capture run time of python script executed inside shell script
I have bash shell script which is internally calling python script.I would like to know how long python is taking to execute.I am not allowed to do changes in python script.Please note i need to know...
2,220
Posted By Adfire
Thank you for your reply.i did take your...
Thank you for your reply.i did take your suggestion removed Cat command and did below modifications and its working now
file_list.ind file like this:

file_claim_(sysdate)_mly.dat...
2,220
Posted By Adfire
thanks for help
Deleting code
Showing results 1 to 13 of 13

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