Search Results

Search: Posts Made By: jeo_fb
916
Posted By Don Cragun
That is a tiny bit too simple. Since $2 expands...
That is a tiny bit too simple. Since $2 expands to a string containing a non-numeric character (the percent sign), the comparison will be a string comparison instead of a numeric comparison. ...
916
Posted By Aia
An AWK version awk '$2>80{print $1}'...
An AWK version
awk '$2>80{print $1}' jeo_fb.file

A Perl version
perl -nale 'print $F[0] if $F[1]>80' jeo_fb.file
916
Posted By disedorgue
Hi, Maybe : awk '/ [8-9][0-9][.0-9]*%|...
Hi,
Maybe :
awk '/ [8-9][0-9][.0-9]*%| 100[.0-9]*%/ && $0=$1' file

Regards.
Showing results 1 to 3 of 3

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