Search Results

Search: Posts Made By: gafoleyo73
1,346
Posted By gafoleyo73
Yup - that is forehead slappingly simple :-) ......
Yup - that is forehead slappingly simple :-) ... thanks!
1,346
Posted By gafoleyo73
"AND" string match using awk
Hiya,

Using awk (as I already have an embedded calculation in the command) reading in a file of many thousands of lines I would like to extract only the lines with M values where field one is less...
10,920
Posted By gafoleyo73
Thank you for that. Yes I am going to be feeding...
Thank you for that. Yes I am going to be feeding in a script with thousands of lines so will need the variables. I appreciate your answer thanks.
10,920
Posted By gafoleyo73
PAssing variables to awk arithmetic
Hi all,

I am wanting to pass variables from a file to an awk arithmetic formula.
When I use the formula with the value it works well. As soon as I make these variables I get an inf (infinity)...
3,338
Posted By gafoleyo73
Works beautifully thank you!! -man that was...
Works beautifully thank you!!
-man that was fast!!!

... my sample output was wrong sorry. My mistake. Your code nailed it though. Cheers!
3,338
Posted By gafoleyo73
awk script -print line when $2 > $2 of previous line
Hi all,

From a while loop I am reading a sorted file where I want to print only the lines that have $1 match and $2 only when the difference from $2 from the previous line is > 30.

Input would...
Showing results 1 to 6 of 6

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