Search Results

Search: Posts Made By: reva
3,691
Posted By reva
Its not working , If the file contains data lik...
Its not working , If the file contains data lik this
a.dat:

BDA 1908 10 23 20 14 6.00 36.5000 70.5000 220.0 0 0.00 0 0.00 0.00 0.00 0 7.00 7.00 0 NULL
G-R 1908 10 23 20 14 ...
5,344
Posted By reva
It works only if the line starts from PDE..But...
It works only if the line starts from PDE..But there are few lines which start from differetn charcters
for example:
a.dat:


PDE 2010 5 9 5 59 42.00 3.7800 96.0500 45.0 7.2 7.2...
5,344
Posted By reva
How get only required lines & delete the rest of the lines in file
Hiiii
I have a file which contains huge data as
a.dat:

PDE 1990 1 9 18 51 28.90 24.7500 95.2800 118.0 6.1 0.0 BURMA
event name: 010990D
time shift: 7.3000
half duration: ...
1,959
Posted By reva
How to execute this awk command.
How to execute this awk command.
1,959
Posted By reva
How to get data in a specified format
Hii , I have a huge set of data stored in file a.dat as shown below
a.dat:

081276A BURMA

Date: 1976/ 8/12 Centroid Time: 23:26:51.8 GMT
Lat= 26.55 Lon= 97.12
Depth= 15.0 Half...
7,864
Posted By reva
These coordinates are all decimals not minutes. ...
These coordinates are all decimals not minutes.
I am very new to perl.Please explain me the perl code &
How do i compile & execute perl program.
7,864
Posted By reva
Thanks for the help... As you said me After...
Thanks for the help...
As you said me After looping what should i do..i realy am not getting how to do...
Help me out
i checked out the link You had posted & the function..But I Dont know hoe\w...
7,864
Posted By reva
Ya i agree with you..Its not simple problem... ...
Ya i agree with you..Its not simple problem...
consider it as just X & Y cooridnates & tel me..
Thats what i am asking you how to loop through the list of my edges...I am not getting it..atleast...
7,864
Posted By reva
How to get data only inside polygon created by points which is part of whole data from file?
hiii, Help me out..i have a huge set of data stored in a file.This file has has 2 columns which is latitude & longitude of a region. Now i have a program which asks for the number of points & based...
4,226
Posted By reva
Thanks a lot :) got it.
Thanks a lot :) got it.
4,226
Posted By reva
No not lik that...i should compare mb against...
No not lik that...i should compare mb against 12th column of a.dat & Ms is against 16th column of a.dat.
4,226
Posted By reva
Ya thanks so much..Its working now...:) ...
Ya thanks so much..Its working now...:)

---------- Post updated at 05:32 AM ---------- Previous update was at 05:23 AM ----------

Now if i want to check for Ms or mb in the similar way as Mw &...
4,226
Posted By reva
for the same data above if i replace the date &...
for the same data above if i replace the date & time in b.dat as
Date: 2010/ 3/5 Centroid Time: 19:19: 4.8 GMT
Then the result s same ...
its not printing the result in c.dat correctly as

...
4,226
Posted By reva
I dont know perl ...Can you please tel me the...
I dont know perl ...Can you please tel me the code using awk :(:confused:
4,226
Posted By reva
How to compare 2 files & get specific value & replace it in other file.
Hiiii Friends
I have 2 files with huge data. I want to compare this 2 files & if they hav same set of vales in specific rows & columns i need to get that value from one file & replace it in other....
2,736
Posted By reva
No i am not getting exact output..I dont know...
No i am not getting exact output..I dont know much perl..Can you tell me the same using awk .:confused:
2,736
Posted By reva
How to get remove duplicate of a file based on many conditions
Hii Friends.. I have a huge set of data stored in a file.Which is as shown below
a.dat:

RAO 1869 12 19 0 0 0.00 17.9000 82.3000 10.0 0 0.00 0 3.70 0.00 0.00 0 0.00 3.70 4 ...
3,493
Posted By reva
Thanks so much its working..Can you please...
Thanks so much its working..Can you please explain me the code ..I understood the logic but the unix code i didnt understand properly.explain with steps..
thank you....
3,493
Posted By reva
how to increment days according to year & month
Hiii i have a file with data as shown below:
a.dat:

RAO 1900 2 7 0 0 0.00 10.8000 76.8000 10.0 0 0.00 0 6.00 0.00 0.00 0 0.00 6.00 0 NULL
LEE 1901 2 15 0 0 0.00...
3,691
Posted By reva
hiiiiii Friends..Thier is a error occuring..Its...
hiiiiii Friends..Thier is a error occuring..Its not giving correct output for my huge data.. Check this type of file out..
I hav a file like
a.dat:

ISC 1976 8 12 23 26 47.09 26.6967 ...
7,233
Posted By reva
I tried to do like this already..It deletes my...
I tried to do like this already..It deletes my other data..
for example
a.dat:

2009 10 29 17 44 31.00 70.66 36.40 286 24 76
2009 11 7 20 9 4.00 86.22 29.29 172 43 -105
2009 11...
7,233
Posted By reva
Sorry Tying mistak..I have corrected it now check...
Sorry Tying mistak..I have corrected it now check it out
7,233
Posted By reva
Thanks a lot...Its working... But if my data...
Thanks a lot...Its working...
But if my data of b.dat is as follows

PDE 2009 6 6 9 6 21.30 37.6300 21.0100 15.0 0 3.80 0 0.00 0.00 0.00 0 0.00 3.80 0 NULL
PDE 2009 6...
7,233
Posted By reva
How to compare 2 files & get only few columns based on a condition related to both files?
Hiiiii friends

I have 2 files which contains huge data & few lines of it are as shown below

File1: b.dat(which has 21 columns)

SSR 1976 8 12 13 10 44.00 39.0700 70.7800 7.0 0 0.00 ...
3,691
Posted By reva
Thanks a lot..The code is working now.........
Thanks a lot..The code is working now.........
Showing results 1 to 25 of 41

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