Search Results

Search: Posts Made By: charlieglen
1,720
Posted By charlieglen
Hello Jotne, Thanks for helping me out, I will...
Hello Jotne,
Thanks for helping me out, I will post the real data as soon as I
can.

The First number of CAR is 2300
The Last Row of CAR is: 2455
2300 is the TOP of Lithology
2455 is the...
1,720
Posted By charlieglen
Thanks everybody, I'm going to try Yoda's...
Thanks everybody, I'm going to try Yoda's solution.
I must have confused some on the format of my file, I only put the comments # this is TOP
# This will be the BASE For clarity. I wish...
1,720
Posted By charlieglen
awk question ? set 2 variables by matching fields
Hello,
I'm trying to get the TOP and BASE numbers printed out
File looks like this:

2300 CAR # 2300 is the TOP
2310 CAR
2335 CAR
2455 CAR # 2455 is the BASE
1000 MOTOR # 2455 will...
958
Posted By charlieglen
nice ! Thanks again Yoda. I hope to understand...
nice ! Thanks again Yoda.
I hope to understand how the arrays work.
This problem really through me for a loop, I will have about 200 las files that need to be formatted
to load into OpenWorks....
958
Posted By charlieglen
Hello Yoda, Thanks for helping me out !, I will...
Hello Yoda,
Thanks for helping me out !, I will try this tomorrow at work,
I don't have awk here on my pc.

---------- Post updated at 09:36 PM ---------- Previous update was at 09:23 PM...
958
Posted By charlieglen
awk question keep dups, delete if only one row
Hello,
I have the following data file which has about 500,000 rows
in $4, I want to keep all the consecutive row matches,
I want to delete the single row entries


1000
1000
1000
2000 ...
Showing results 1 to 6 of 6

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