Search Results

Search: Posts Made By: slackjack
1,352
Posted By slackjack
I made the following change and it works: ($3...
I made the following change and it works:
($3 ~/^S|^\)|^\(t/)

---------- Post updated 02-17-10 at 11:57 AM ---------- Previous update was 02-16-10 at 10:53 PM ----------

Another follow up...
1,352
Posted By slackjack
Thanks for the input. Script works fine on a...
Thanks for the input. Script works fine on a small file with about 50 lines. When I try it on a file that has about 4000 lines or so, I get no output. Does awk have an issue with large text files?
1,352
Posted By slackjack
Need help with script (awk)
I have a file with the following data:


169 00:00:00.676 N
174 00:00:00.696 r
182 00:00:00.728 S
191 00:00:00.764 )
220 00:00:00.880 (t
...
9,386
Posted By slackjack
One other quick question. I'm having some...
One other quick question. I'm having some difficulty finding the geometric average. I need to use exponents for this, and the result may floating point numbers at times. So for the eggs in a-X, the...
9,386
Posted By slackjack
Hi, What exactly does the highlighted code...
Hi,

What exactly does the highlighted code do? Also, what if the structure of the string changes? Like if it was:
b-4.txt:85 eggs in 5 cartons

I would be grateful if you could explain how you...
9,386
Posted By slackjack
I dont understand perl :( So I cant make...
I dont understand perl :( So I cant make modifications to the script. Could you provide some comments or a translation to BASH? I would ideally like to adapt this to many situations.
9,386
Posted By slackjack
BASH. Need to extract some numbers and take the average
Hey all,

I ran some simulations, of which the output is 100s of files. I've used grep to extract the vital information needed from the files. This has made my task somewhat easier. But I still...
Showing results 1 to 7 of 7

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