Search Results

Search: Posts Made By: naveen_sangam
3,970
Posted By naveen_sangam
Finding Multiple values in a fixed length file
File A.txt is something like

abc20100719|ab|P|C|zz|UE|USD|85|zz|zzz

I Need to find out the 16th character and match with P and i need 23-24 characters mathches with UE and 30-31 characters...
3,970
Posted By naveen_sangam
Finding multiple column values and match in a fixed length file
Hi,

I have a fixed length file where I need to verify the values of 3 different fields, where each field will have a different value.

How can I do that in a single step.
16,912
Posted By naveen_sangam
thanks to all of you, the 2nd & 3rd giving the...
thanks to all of you, the 2nd & 3rd giving the correct output but the 1st one still gave the last column value.
16,912
Posted By naveen_sangam
Finding the second last column value from a text file
Can any one tell me how to get the second last column value from the text file, which has different record size for each record.

I know how to get the last column using awk and print statements,...
6,832
Posted By naveen_sangam
thanks a lot...
thanks a lot...
10,063
Posted By naveen_sangam
How to find and print the last word of each line from a text file
Can any one help us in finding the the last word of each line from a text file and print it.

eg:
1st --> aaa bbbb cccc dddd eeee ffff ee
2nd --> aab ered er fdf ere ww ww f
...
6,832
Posted By naveen_sangam
Finding the last column value from a text file
Hi,

I need to find out the last column value from a text file which is delimited by a tab.

The issue here is the last column# for each record can be different i.,e, 1st record can have the last...
3,645
Posted By naveen_sangam
Thanks Scott... it works fine....
Thanks Scott... it works fine....
3,645
Posted By naveen_sangam
Removing bad records from a text file
Hi,

I have an requirement where i need to remove few bad records(bad records I mean email id's are part of the 1st field, where a numeric value expected) from the text file delimited by ",".
...
Showing results 1 to 9 of 9

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