Search Results

Search: Posts Made By: vaka
2,037
Posted By vaka
It is working and I have modified as per your...
It is working and I have modified as per your suggestion. I am almost done.
I am able to run the following code blocks independently. If I try to make them as one, I am getting error always at 2nd...
8,406
Posted By vaka
Franklin/Dennis, I am able to run the following...
Franklin/Dennis, I am able to run the following code blocks independently. If I try to make them as one, I am getting error always at 2nd block. Can you please suggest what syntax error causing this?...
2,037
Posted By vaka
thanks a lot, but we can not use $4 as field...
thanks a lot, but we can not use $4 as field separator is not single space all the times..can we send any index(position) as an argument to sub function....
8,406
Posted By vaka
Thanks a ton franklin, I am able to tweak the...
Thanks a ton franklin, I am able to tweak the above code as per my need.
2,037
Posted By vaka
Input: NICEP H030325 350160564A ...
Input:
NICEP H030325 350160564A N717391601 25081117201000199 11/13/200811/13/2008 496

Output:

NICEP H030325 350160564A ...
2,037
Posted By vaka
Only one particular occurence needs to be substituted !!!
In a file, field separetor in line is irregular number of spaces, so I canot use field in sub function to get my charecter replaced with empty space. I would like to substitute only one perticular...
8,406
Posted By vaka
Thanks Franklin, it gives what I have requested....
Thanks Franklin, it gives what I have requested. I need to add extra logic.
Any line which doesn't have J or R or S, at 7th position, I need to get the length lenght first and appliy logic based on...
8,406
Posted By vaka
Yes it is working but not giving empty spaces....
Yes it is working but not giving empty spaces. After Jaya Ravi Satish, empty space need to be filled till 256 column position.
8,406
Posted By vaka
thanks Dennis, it is perfectly working for 1 st...
thanks Dennis, it is perfectly working for 1 st line of the input as your logic addresses one values that is J --- Jaya.
I need to have this code for all the three values. (J ---> Jaya, R --->...
8,406
Posted By vaka
Depending upon character at particular position, string needs to be appended
Depending upon character at particular position in a line, string needs to be appended followed by empty spaces till 256th column position at the end of the each line in the file.

example:
123p4...
Showing results 1 to 10 of 10

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