Search Results

Search: Posts Made By: appsguy616
3,827
Posted By appsguy616
hi The script should be irrespective of...
hi
The script should be irrespective of record Type 7,8. It should depend on Record Type 5 and 6. so basically every Record Type 5 can have multiple Record Type 6's. So I want to calculate the...
3,827
Posted By appsguy616
awk script to calculate total
Hi
First field is the Record Type. A Record Type 5 can have multiple Record Type 6's before another Record Type 5 appears.

I want to calculate the total of fields at position 8-11 on Record type...
5,502
Posted By appsguy616
Hi I have another question on the same...
Hi
I have another question on the same file. I want to copy a field at position 9:15 on the line starting with 6(in red color) and replace it with the field at position 10:14 on line starting...
5,502
Posted By appsguy616
That works, Thanks very much.
That works, Thanks very much.
5,502
Posted By appsguy616
hi The field is at fixed position 10-20...
hi
The field is at fixed position 10-20 not the 4th field necessarily. Could you please help

Thanks
5,502
Posted By appsguy616
awk script to compare and insert a line
Hi
I want to compare a string at fixed position 10-20 for all the lines starting with 6. if they dont match it should take a copy of a line starting with 1 and insert it before the line starting...
7,130
Posted By appsguy616
help please.
help please.
7,130
Posted By appsguy616
Hi Could you help please. I know i am not...
Hi
Could you help please. I know i am not supposed to bump up the post but i am in a urgent situation.
7,130
Posted By appsguy616
New question: Get fields from line 90 and replace the line 6 field:
Hi
Can you please let me know how to do with the previous series approach. I also have another question. Didn't knew if this should be a new thread? If I want to to pick a field from the line...
7,130
Posted By appsguy616
Hi Sorry abt the post. The line in red is...
Hi
Sorry abt the post. The line in red is not being included in the total of first group 6 lines. It should be processed as first group total as it is before second 5 line. In the new script it...
7,130
Posted By appsguy616
help please Thanks
help please

Thanks
7,130
Posted By appsguy616
Could you help please. Thanks
Could you help please.

Thanks
7,130
Posted By appsguy616
Could you please help Thanks
Could you please help

Thanks
7,130
Posted By appsguy616
Hi Thanks very much for ur help.The line in...
Hi
Thanks very much for ur help.The line in red should not be there as there should be only one 6 line for every 5 line. so the total should include to that total too. Pls help

101...
7,130
Posted By appsguy616
Hi The script works only if the data file...
Hi
The script works only if the data file is that format. My datafile is sometime in this format too. How to do this. Pls help. Thanks

101 3234344443433230430021170810060810A094101CITIZEN ...
7,130
Posted By appsguy616
Hi nawk doesn't work for me. I still dont...
Hi
nawk doesn't work for me. I still dont get the 6 lines.
7,130
Posted By appsguy616
Hi Can you pls let me know why cant i get...
Hi
Can you pls let me know why cant i get the 6 lines with the same code?
7,130
Posted By appsguy616
Hi It is HP-UX. But I can see other lines...
Hi
It is HP-UX. But I can see other lines like 5 and 7 but not just 6 lines in the file.
7,130
Posted By appsguy616
Hi It didn't display the 6 lines at all....
Hi
It didn't display the 6 lines at all. also there is no total of all the 6 lines for each 5 line.

Thanks
Please help
7,130
Posted By appsguy616
Hi It displays the total of all the 6...
Hi
It displays the total of all the 6 lines for first 5 line only. It doesn't display the other total for the 2nd 5 line. also it displays only 5 lines and the total like this


5200AMEX ...
7,130
Posted By appsguy616
The required output should be. Basically I want...
The required output should be. Basically I want only one line starting with 6 should appear but the field at positon 30:39 for the line should be the sum of all the fields at this position on all the...
7,130
Posted By appsguy616
Hi I want the total of the field at...
Hi
I want the total of the field at position 30-39 on all Lines 6 to be displayed. so Every 5 line will have only one 6 line with the total of all the lines 6

Thanks
Pls help
so the total...
7,130
Posted By appsguy616
Hi The output should be like this. The...
Hi
The output should be like this. The totals should go where it is bold

101 12110825030430021170810060810A094101BANK OF AMERICA
5200AMERICAN EXP 144892 3043002117CCDOCT06 2008...
7,130
Posted By appsguy616
Get the total of a field in all the lines of a group
Hi
I have a Fixed format data file where I need to to get the total of the field at certain position in a file for a group of lines.

In this data file I need the total of all the field...
13,451
Posted By appsguy616
Pass array variabel to awk from shell
Hi
I need to pass an array to Awk script from Shell. Can you please tell how to do it? How to pass this array add_ct_arr to an awk script or access it in awk?

i=1
while [ $i -le $entry_count...
Showing results 1 to 25 of 27

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