Search Results

Search: Posts Made By: johnveslin
4,502
Posted By Corona688
awk '(NR>1) && (($2>=50) || ( ($3-$2)>20))'...
awk '(NR>1) && (($2>=50) || ( ($3-$2)>20))' datafile

The (NR>1) && is just to prevent it from printing that first line with all the titles, if your data doesn't really have that lop it off.
3,859
Posted By Scott
Hi. I suppose there are other ways, but...
Hi.

I suppose there are other ways, but here's one:


$ awk 'NF { X=1 } X' input.txt
test

Test
$>
Showing results 1 to 2 of 2

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