Search Results

Search: Posts Made By: zeus101
7,218
Posted By zeus101
Awk doesn't take % as a number. It is considered...
Awk doesn't take % as a number. It is considered as a string. Try this:

awk '{if ((substr($NF,1,length($NF)-1)+0)>80) print}' test.log

Here you convert $NF which is a percentage (string) to a...
Showing results 1 to 1 of 1

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